-
Notifications
You must be signed in to change notification settings - Fork 13.5k
CodeGen SPIR-V tests that specify --target-env vulkan1.3 are failing #136049
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
Tagging @s-perron for your thoughts on this and the proposed solution |
I won't be able to look in detail until Monday, but I would prefer to change the tests to not have external functions or variable. We could make the functions shader entry points. The reason for using the vulkan environment is because some other restrictions are not checked by the validator, and they can be important. |
@s-perron the pipeline is still broken. I think this is just a solution to get the tests back to green. Alternatively we could mark these two XFAIL. |
Sure xfail, and leave an issue open to fix it. |
When SPIRV-Tools is enabled, tests that specify the target environment
vulkan1.3
in the validation step are failing. Specifically, the tests are:CodeGen/SPIRV/hlsl-intrinsics/SV_GroupIndex.ll
(link)CodeGen/SPIRV/hlsl-intrinsics/smoothstep.ll
(link)This is happening because SPIRV-Tools seems to have grown some capability checks for 1.3. The target environments were originally added by suggestion in order to give more robust testing. #132288 (comment).
Proposed solution is to remove the
--target-env
specifications from these tests.The text was updated successfully, but these errors were encountered: