-
Notifications
You must be signed in to change notification settings - Fork 245
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
spirv-std/Image!
should expose AccessQualifier
.
#1097
Comments
OpTypeImage
Image!
should expose AccessQualifier
.
Oh I'm really sorry I haven't checked what SPIR-V's "Access Qualifier" is. That is, this is an OpenCL feature, not a Vulkan one, and The Vulkan feature is It does seem weird to put it in the attribute in the It may be possible to pretend that it is a parameter on image types, or even reuse the (cc @Algorhythm-sxv - sorry you ended up implementing a different feature that the needed one) |
@eddyb is there a workaround to allow use of a wgpu |
This is the relevant part of my message:
We currently support toggling In theory, we could do it for images based on There's two possible paths, as I see it:
|
I think it would be beneficial to expose the
AccessQualifier
in theImage!
macro, as at least forwgpu
,ReadWrite
andReadOnly
storage textures are only supported on native platforms. So, it would be benificial forImage
s allow forWriteOnly
.The text was updated successfully, but these errors were encountered: