-
Notifications
You must be signed in to change notification settings - Fork 760
[SPIR-V] "generated SPIR-V is invalid: Number of image operand ids doesn't correspond to the bit mask" #7174
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
Comments
Sorry I don't have enough to go on for this error. Are you able to point the HLSL file being compiled? If not, you might need to talk to the maintainers of the other repos you mentioned to help debug the issue. You are also using a very old version of DXC (Dec 2021). Could you try the latest release to see if that fixes the problem? |
Correction for DXC version: It's acquired from vcpkg, and the DLL I've located shows the "product version" as |
This should be the first shader that failed: failed0.hlsl.txt |
I cannot easily reproduce the error: https://godbolt.org/z/KjnsEPTTq. I'll try different environments to see if I can reproduce the probolem. |
Cross-posting from #6184 (comment):
|
From the comments I cannot tell if this should be closed now or not. The edits to the linked comment seems to suggest this is not longer a problem. |
@s-perron apologies for the monologue there, it appears no-one was around to discuss while I was debugging this solo. The summary is that this issue appears to have the same cause as #6184: there is something in the final release artifacts (I'm not even sure if those are compiled by the Azure pipelines defined in this repository) that causes them to misbehave, which I cannot reproduce when compiling DXC manually. Someone will have to debug the release process to understand why this is happening, and address it. |
Description
I seem to have run into an issue with DXC that I do not understand.
Environment
dxcompiler.dll: 1.6 - 1.6.2112.16 (e8295973c); dxil.dll: 1.6(101.6.2112.13)
Steps to Reproduce
Attempt to build hedge-dev/UnleashedRecomp with submodule at
tools/XenonRecomp
pointing to IsaacMarovitz/XenonRecomp:simde (for hedge-dev/XenonRecomp#22 in case repo gets nuked after merge)Actual Behavior
It gets very angry.
PowerShell Transcript of manually running relevant build step
The text was updated successfully, but these errors were encountered: