mirror of https://github.com/godotengine/godot
PR #100062 introduced BUFFER_USAGE_DEVICE_ADDRESS_BIT. However it did so by adding a boolean to uniform_buffer_create(), called "bool p_enable_device_address". This makes maintaining backwards compatibility harder because I am working on another feature that would require introducing yet another bit flag. This would save us the need to add fallback routines when the feature I am working on makes it to Godot 4.5. Even if my feature doesn't make it to 4.5 either, this PR makes the routine more future-proof. This PR also moves STORAGE_BUFFER_USAGE_DEVICE_ADDRESS into BUFFER_CREATION_DEVICE_ADDRESS_BIT, since it's an option available to both storage and uniforms. This PR also moves the boolean use_as_storage into BUFFER_CREATION_AS_STORAGE. |
||
|---|---|---|
| .. | ||
| SCsub | ||
| bokeh_dof.cpp | ||
| bokeh_dof.h | ||
| copy_effects.cpp | ||
| copy_effects.h | ||
| debug_effects.cpp | ||
| debug_effects.h | ||
| fsr.cpp | ||
| fsr.h | ||
| fsr2.cpp | ||
| fsr2.h | ||
| luminance.cpp | ||
| luminance.h | ||
| metal_fx.h | ||
| metal_fx.mm | ||
| motion_vectors_store.cpp | ||
| motion_vectors_store.h | ||
| resolve.cpp | ||
| resolve.h | ||
| roughness_limiter.cpp | ||
| roughness_limiter.h | ||
| sort_effects.cpp | ||
| sort_effects.h | ||
| spatial_upscaler.h | ||
| ss_effects.cpp | ||
| ss_effects.h | ||
| taa.cpp | ||
| taa.h | ||
| tone_mapper.cpp | ||
| tone_mapper.h | ||
| vrs.cpp | ||
| vrs.h | ||