vkd3d-shader: Use the SM <= 5.x convention for input src param swizzles.
- Oct 15, 2024
-
-
Conor McCarthy authored
-
Conor McCarthy authored
Output dst params are no longer normalised, and doing so would be too complex because they determine which swizzle components are loaded from some, but not all, src params. For consistency, normalisation is removed here from src params too.
-
Conor McCarthy authored
vkd3d-shader/spirv: Subtract the value component index in spirv_compiler_emit_swizzle() for vectors too. This issue will be hit in test_domain_shader_inputs() if source swizzles are no longer normalised to be relative to the first component. It existed before the normalisation introduced in 6835e817, but test_domain_shader_inputs() used the private variable pathway then.
-