Implemented for Vulkan/DX12/DX11.
In Vulkan, storage image implies simultaneous read/write access.
Other APIs in contrast may allow STORAGE writeonly while disallowing reading.
Related to https://github.com/gfx-rs/wgpu/pull/1109 - native extension for for read+write storage textures in wgpu native; following comments on the PR I'm redoing it and would need to add this to the hal api.
PR checklist:
[x] make succeeds (on *nix)
[x] make reftests succeeds
[x] tested examples with the following backends:
Vulkan/DX12/DX11
did a dump of storage/storage-atomic/storage-rw flags each and eyeballed it as a sanity check
Implemented for Vulkan/DX12/DX11. In Vulkan, storage image implies simultaneous read/write access. Other APIs in contrast may allow STORAGE writeonly while disallowing reading.
Related to https://github.com/gfx-rs/wgpu/pull/1109 - native extension for for read+write storage textures in wgpu native; following comments on the PR I'm redoing it and would need to add this to the hal api.
PR checklist:
make
succeeds (on *nix)make reftests
succeeds