-
Notifications
You must be signed in to change notification settings - Fork 722
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] invalid OpTypeImage generated #4828
Comments
HLSL semantics dictate that CapabilityStorageImageWriteWithoutFormat should always be used. CapabilityStorageImageReadWithoutFormat is a little more spicy, it's not supported everywhere. FL11 only requires R32_UINT/R32_FLOAT/R32_SINT to be supported, so the explicit type can be deduced, but this is relaxed in FL12+. |
Thanks for the report! |
@Keenuts could it be that this still isn't properly fixed? We are still seeing this. |
The test case provided above look like it is work as you asked. Is there something else that is still failing for you? |
It sounds like this is now fixed. If there's additional test cases/context that are still causing an issue please comment here and we'll re-open. |
https://godbolt.org/z/dz51dnh8v
RWTexture gets an OpTypeImage of Rgba32, this seems incorrect. Presumably this should be Unknown instead (according to discussion with @HansKristian-Work
Ultimately resulting in a validation issue like this. (Note that the actual resource is 11.11.10 so a rgba32 classification is incorrect).
The text was updated successfully, but these errors were encountered: