Something's strange here: this shader compiles successfully to SM2 and SM3 on my computer, but it fails on the CI; so while the CI pipeline passes, I can see failures on my computer. So far I have no idea of what's causing this behavior difference.
Are your local runs with VKD3D_SHADER_CONFIG="force_validation"? From the CI's tests/hlsl/clip.log: ``` vkd3d:33953:fixme:spirv_compiler_generate_spirv Failed to validate SPIR-V binary. vkd3d:33953:fixme:spirv_compiler_generate_spirv Failed to validate SPIR-V binary. vkd3d:33953:fixme:spirv_compiler_generate_spirv Failed to validate SPIR-V binary. vkd3d:33953:fixme:spirv_compiler_generate_spirv Failed to validate SPIR-V binary. ```