Open teoxoy opened 1 year ago
I don't understand how this is part of WebGPU - if we can't use the storage buffer class in shaders, we're downlevel no matter what as we always need to be able to write to buffers.
This extension provides a new SPIR-V
StorageBuffer
storage class. ABlock
-decorated object in this class is equivalent to aBufferBlock
-decorated object in theUniform
storage class.
VK_KHR_storage_buffer_storage_class
doesn't actually enable the use of storage buffers
See also https://github.com/kainino0x/gpuinfo-vulkan-query/issues/2 for more context (where I thought it was also needed).
see https://github.com/gfx-rs/wgpu/issues/4427