Francisco Casas
0f18d25987
tests: Test semantic cascading signatures.
2025-07-21 11:57:01 +02:00
Francisco Casas
faeff50548
tests/hlsl: Add additional semantic cascading tests.
...
These test make the shader runner segfault before implementing it,
because it miscompiles and there are unused input layout elements.
So they are on their own commit.
2025-07-21 11:57:01 +02:00
Francisco Casas
a9a5c77222
vkd3d-shader/hlsl: Make input semantics on structs cascade down onto the fields.
2025-07-21 11:57:01 +02:00
Francisco Casas
7e9834ee36
vkd3d-shader/hlsl: Make output semantics on structs cascade down onto the fields.
2025-07-21 11:57:00 +02:00
Francisco Casas
f08fed5ffb
vkd3d-shader/hlsl: Don't pass the semantic index in add_semantic_var().
2025-07-21 11:57:00 +02:00
Francisco Casas
28f74a73aa
vkd3d-shader/hlsl: Use the index in the hlsl_semantic when prepending input copies.
2025-07-21 11:57:00 +02:00
Francisco Casas
4f5d34265c
vkd3d-shader/hlsl: Use the index in the hlsl_semantic when appending output copies.
2025-07-21 11:55:57 +02:00
Francisco Casas
9836c88ac6
tests/hlsl: Add semantic cascading tests.
...
Co-authored-by: Petrichor Park <ppark@codeweavers.com >
2025-07-21 11:20:14 +02:00
Giovanni Mascellani
7e66d0db6f
vkd3d-shader/ir: Do not print a message for registers that are not being allocated.
2025-07-17 14:11:01 +02:00
Giovanni Mascellani
e9d3b9dfd3
vkd3d-shader/ir: Set dimension to VEC4 when converting SSAs to TEMPs.
2025-07-17 14:11:01 +02:00
Giovanni Mascellani
a7807dea08
vkd3d-shader/ir: Validate FTOU operations.
2025-07-17 14:08:10 +02:00
Giovanni Mascellani
ccc82a184b
vkd3d-shader/ir: Validate FTOI operations.
2025-07-17 14:08:10 +02:00
Giovanni Mascellani
2c1d210d21
vkd3d-shader/ir: Validate ITOI operations.
2025-07-17 14:08:10 +02:00
Giovanni Mascellani
791a93d0b1
vkd3d-shader/ir: Validate ITOF operations.
2025-07-17 14:08:10 +02:00
Giovanni Mascellani
68ad2becdb
vkd3d-shader/ir: Validate ISNAN operations.
2025-07-17 14:08:10 +02:00
Giovanni Mascellani
fb1fc9eb38
vkd3d-shader/ir: Validate ISINF operations.
2025-07-17 14:08:10 +02:00
Giovanni Mascellani
df18a05303
vkd3d-shader/ir: Validate ISFINITE operations.
2025-07-17 14:08:10 +02:00
Giovanni Mascellani
b287e7959c
vkd3d-shader/ir: Sort vsir_validator_instructions[] alphabetically.
2025-07-17 14:08:06 +02:00
Giovanni Mascellani
195e62430e
vkd3d-shader/ir: Use the iterator in vsir_program_lower_precise_mad().
2025-07-17 14:04:28 +02:00
Giovanni Mascellani
a12d64fba1
vkd3d-shader/ir: Use the iterator in vsir_program_lower_texkill().
2025-07-17 14:04:28 +02:00
Giovanni Mascellani
9867d48c3a
vkd3d-shader/ir: Use the iterator in vsir_program_lower_ifc().
2025-07-17 14:04:28 +02:00
Giovanni Mascellani
2d848b5bc0
vkd3d-shader/ir: Introduce an abstraction to iterate through vsir instructions.
2025-07-17 14:04:00 +02:00
Giovanni Mascellani
ba545669cd
vkd3d-shader/ir: Validate ISHR operations.
2025-07-16 18:07:26 +02:00
Giovanni Mascellani
126ff8e4f5
vkd3d-shader/ir: Validate ISHL operations.
2025-07-16 18:07:26 +02:00
Giovanni Mascellani
94d999bd8a
vkd3d-shader/ir: Validate IREM operations.
2025-07-16 18:07:26 +02:00