1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00
Files
godot/doc/classes
Matias N. Goldberg af900a5825 Change how device address is requested to avoid future API breakage
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.
2025-02-11 20:00:18 -03:00
..
2024-11-10 14:19:14 -08:00
2024-11-17 23:04:52 +01:00
2024-11-16 12:59:08 +01:00
2024-12-18 17:52:42 -05:00
2024-12-15 21:24:15 +11:00
2025-01-10 14:59:12 +01:00
2025-01-02 15:47:01 +09:00
2024-11-12 20:29:04 -03:00
2025-01-13 21:25:49 +09:00
2025-01-13 21:25:49 +09:00