-
Notifications
You must be signed in to change notification settings - Fork 692
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: stop emitting ImageMSArray capability #5663
Conversation
Capability trimming pass is handling this logic now. Needed to fix a test as DCE now runs. ImageMSArray is also not required for this test as no OpImageType has array=1, ms=1 and sampled=2. Signed-off-by: Nathan Gauër <[email protected]>
Can you add a test that does require |
Yeah, I wanted to do that, but haven't found how. I'll try a bit more, but seems every HLSL code I wrote doesn't have the |
remove ImageMsArray capability
Removed the capability, and fixed the documentation. |
Arf auto-merge |
Let me fix that in another PR |
ImageMSArray is only required is OpTypeImage arrayed=1, MS=1 and sampled=2. This is never the case AFAIK for code emitted from HLSL. No tests or shaders I knew about required it, so should be OK removing it from DXC. --------- Signed-off-by: Nathan Gauër <[email protected]>
ImageMSArray is only required is OpTypeImage arrayed=1, MS=1 and sampled=2. This is never the case AFAIK for code emitted from HLSL. No tests or shaders I knew about required it, so should be OK removing it from DXC.