Commit Graph

7921 Commits

Author SHA1 Message Date
Henri Verbeet
0126beb3b2 vkd3d-shader/ir: Rename enum vkd3d_data_type to vsir_data_type. 2025-07-21 12:10:43 +02:00
Henri Verbeet
53dd048ad5 demos/teapot: Add a flat shading toggle. 2025-07-21 12:09:44 +02:00
Giovanni Mascellani
8d4222764c vkd3d-shader/ir: Use the iterator in vsir_program_lower_texldp(). 2025-07-21 12:07:08 +02:00
Giovanni Mascellani
5407c8b975 vkd3d-shader/ir: Use the iterator in vsir_program_lower_sm4_sincos(). 2025-07-21 12:07:08 +02:00
Giovanni Mascellani
55b8002bf6 vkd3d-shader/ir: Use the iterator in vsir_program_lower_sm1_sincos(). 2025-07-21 12:06:46 +02:00
Giovanni Mascellani
c1f7720075 vkd3d-shader/ir: Use the iterator in vsir_program_lower_udiv(). 2025-07-21 12:02:57 +02:00
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