Henri Verbeet
1487764e23
vkd3d-shader/ir: Rename VKD3D_DATA_UINT64 to VSIR_DATA_U64.
2025-07-22 14:57:26 +02:00
Henri Verbeet
742cce9a08
vkd3d-shader/ir: Rename VKD3D_DATA_UINT to VSIR_DATA_U32.
2025-07-22 14:57:26 +02:00
Henri Verbeet
163b87444f
vkd3d-shader/ir: Rename VKD3D_DATA_UINT16 to VSIR_DATA_U16.
2025-07-22 14:57:26 +02:00
Henri Verbeet
a04e4e4010
vkd3d-shader/ir: Rename VKD3D_DATA_INT to VSIR_DATA_I32.
2025-07-22 14:57:26 +02:00
Giovanni Mascellani
13c9826c30
vkd3d-shader/ir: Check that OUTSTENCILREF registers have dimension SCALAR.
2025-07-22 14:55:18 +02:00
Giovanni Mascellani
7b36453b9d
vkd3d-shader/ir: Check that PRIMID registers have dimension SCALAR.
2025-07-22 14:55:18 +02:00
Giovanni Mascellani
b3c1fb6740
vkd3d-shader/ir: Check that OUTPOINTID registers have dimension SCALAR.
2025-07-22 14:55:18 +02:00
Giovanni Mascellani
dfc18781cc
vkd3d-shader/ir: Check that GSINSTID registers have dimension SCALAR.
2025-07-22 14:55:18 +02:00
Giovanni Mascellani
b02c3759be
vkd3d-shader/ir: Check that SAMPLEMASK registers have dimension SCALAR.
...
Also fix the DXIL parser to emit them accordingly.
2025-07-22 14:55:18 +02:00
Giovanni Mascellani
226afa47c4
vkd3d-shader/ir: Check that THREADID registers have dimension VEC4.
2025-07-22 14:55:18 +02:00
Giovanni Mascellani
decc155cca
vkd3d-shader/ir: Split updating DCL_TEMPS instructions to a dedicated pass.
...
So that it can be used in other contexts as well. And so that
register allocation can be run also when there is no need to update
or create DCL_TEMPS instructions.
2025-07-21 12:31:08 +02:00
Giovanni Mascellani
079e989b8e
vkd3d-shader/ir: Update the program TEMP count when allocating TEMP registers.
2025-07-21 12:26:10 +02:00
Giovanni Mascellani
f5cd0b4a15
vkd3d-shader/ir: Check that THREADGROUPID registers have dimension VEC4.
2025-07-21 12:23:34 +02:00
Giovanni Mascellani
59253a5e7f
vkd3d-shader/ir: Check that LOCALTHREADID registers have dimension VEC4.
2025-07-21 12:23:34 +02:00
Giovanni Mascellani
834f762cb5
vkd3d-shader/ir: Check that DEPTHOUTLE registers have dimension SCALAR.
...
Also fix the DXIL parser to emit them accordingly.
2025-07-21 12:23:34 +02:00
Giovanni Mascellani
18ef9a4f9f
vkd3d-shader/ir: Check that DEPTHOUTGE registers have dimension SCALAR.
...
Also fix the DXIL parser to emit them accordingly.
2025-07-21 12:23:34 +02:00
Giovanni Mascellani
9f453fbb66
vkd3d-shader/ir: Check that DEPTHOUT registers have dimension SCALAR.
...
Also fix the DXIL parser to emit them accordingly.
2025-07-21 12:23:32 +02:00
Giovanni Mascellani
3d23ef6bf8
vkd3d-shader/ir: Check that COVERAGE registers have dimension VEC4.
...
Also fix the HLSL compiler and DXIL parser to emit them accordingly.
2025-07-21 12:21:23 +02:00
Giovanni Mascellani
ee0447b973
vkd3d-shader/ir: Check that LOCALTHREADINDEX registers have dimension VEC4.
...
Also fix the HLSL compiler and DXIL parser to emit them accordingly.
2025-07-21 12:18:49 +02:00
Giovanni Mascellani
61c46f95da
vkd3d-shader/ir: Validate MUL operations.
2025-07-21 12:16:16 +02:00
Giovanni Mascellani
87545dc4fd
vkd3d-shader/ir: Validate MIN operations.
2025-07-21 12:16:16 +02:00
Giovanni Mascellani
366c899a00
vkd3d-shader/ir: Validate MAX operations.
2025-07-21 12:16:16 +02:00
Giovanni Mascellani
5dd226ffeb
vkd3d-shader/ir: Validate MAD operations.
2025-07-21 12:16:16 +02:00
Giovanni Mascellani
2237e251fa
vkd3d-shader/ir: Validate LTU operations.
2025-07-21 12:16:16 +02:00
Giovanni Mascellani
34cb8c63f4
vkd3d-shader/ir: Validate LTO operations.
2025-07-21 12:16:14 +02:00