-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow read-write storage on selected texture formats #1772
Comments
It also has hardware requirements, but the Metal Feature Set Tables defer on actually saying what the hardware requirements are. It seems that they are not strictly tied to particular Feature Sets. Instead, Metal requires a runtime check. In this case,
|
Also if we decide to drop 10.12, we should update #1069. |
Meeting: Until then, we can spec this as optional feature, and perhaps make it non-optional (take out the feature name) later. |
As a noob to the WebGPU standards process, does optional mean "available through an extension" in this case? Losing read/write for storage images would be a bummer for a handful of compute use-cases. |
Yeah, optional means the hardware and browser have to support it, and if so then you can enable it. |
…ec.ts (gpuweb#1772) According to the specification, viewDimension should not be `cube` or `cube-array` if storageTextureLayout is not undefined. So this PR adds a new test to ensure that a validation error is generated if viewDimention is `cube` or `cube-array` with a storageTexture. Issue: gpuweb#885
Small heads up from an issue I recently hit in MoltenVK (KhronosGroup/SPIRV-Cross#2153) Metal's rw textures don't guarantee that reads see the result of writes made earlier in the same thread without calling explicit barrier functions, so any WGSL → MSL compilers will need to keep this in mind. |
Closing this issue, as important discussion of this has moved over to #3838. |
Based on the investigation of #513, we should consider adding a read-write variant of
GPUStorageTextureAccess
, which is to be allowed on R32 float/sint/uint formats (only). This appears to be guaranteed on D3D12, Vulkan, and requires a certain Apple OS version (macOS 10.13, iOS 11). The expectation is that prior Apple OSes would not have WebGPU exposed.The text was updated successfully, but these errors were encountered: