Henri Verbeet
b6acac49f1
vkd3d-shader/msl: Implement VSIR_OP_UREM.
2025-10-14 15:49:18 +02:00
Henri Verbeet
69879129f8
vkd3d-shader/msl: Implement VSIR_OP_IDIV.
2025-10-14 15:49:18 +02:00
Henri Verbeet
90758b7ca8
vkd3d-shader/msl: Implement VSIR_OP_UDIV_SIMPLE.
2025-10-14 15:49:18 +02:00
Henri Verbeet
9de229925d
vkd3d-shader/ir: Handle integer division by zero in vsir_program_lower_udiv().
...
This achieves two things:
- The GLSL backend no longer needs to handle this by itself. Likwise, the
MSL backend won't have to either.
- We no longer handle division by zero for DXIL UDiv and URem instructions,
which leave this undefined.
2025-10-13 19:00:05 +02:00
Henri Verbeet
7aa6f4f8b6
tests: Replace the test_shader_instructions() "ps_udiv" test with a shader runner test.
2025-10-13 19:00:05 +02:00
Elizabeth Figura
539a5be370
vkd3d-shader: Introduce an interface to specify 1.x texture dimensions.
2025-10-13 18:40:44 +02:00
Henri Verbeet
c522db8ce8
tests/shader_runner: Handle the "rgba" probe format as an alias for "f32".
2025-10-07 13:12:36 +02:00
Elizabeth Figura
c8b2aca23d
vkd3d-shader/hlsl: Make ConstructGSWithSO an intrinsic function.
...
It's not a keyword.
2025-10-07 13:10:26 +02:00
Shaun Ren
d5770cd347
vkd3d-shader/hlsl: Add support for the centroid interpolation mode in SM1.
2025-10-06 15:18:50 +02:00
Shaun Ren
44582a930c
vkd3d-shader/hlsl: Handle the "_centroid" modifier suffix in semantic names.
2025-10-06 15:18:48 +02:00
Shaun Ren
5e4ee62cad
tests/hlsl: Add tests for centroid interpolation in SM1.
2025-10-06 15:13:26 +02:00
Nikolay Sivov
de2653e3d3
tests/hlsl: Add some tests for special semantic name suffixes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-10-06 15:11:40 +02:00
Giovanni Mascellani
e524c36916
vkd3d-shader/msl: Implement VKD3DSPR_THREADGROUPID.
2025-10-03 00:44:45 +02:00
Giovanni Mascellani
f15e5ac228
vkd3d-shader/msl: Implement VKD3DSPR_LOCALTHREADID.
2025-10-03 00:44:45 +02:00
Giovanni Mascellani
3293d72f03
vkd3d-shader/msl: Implement VKD3DSPR_LOCALTHREADINDEX.
2025-10-03 00:44:45 +02:00
Giovanni Mascellani
a815e625d6
tests/hlsl: Add a test for SV_GroupThreadID.
2025-10-03 00:44:45 +02:00
Giovanni Mascellani
f21b487bf9
tests/hlsl: Add a test for SV_GroupID.
2025-10-03 00:44:45 +02:00
Giovanni Mascellani
1c2acda0da
tests/hlsl: Add a test for SV_GroupIndex.
2025-10-03 00:44:45 +02:00
Giovanni Mascellani
3c8b4ce731
ci: Run Linux tests on Debian trixie.
...
So we have a more recent version of SPIRV-Tools and also don't
have to recompile Mesa to test llvmpipe. This fixes a few failing
tests, but also breaks a couple.
2025-10-03 00:43:10 +02:00
Conor McCarthy
3f1de27283
tests/hlsl: Add a test for branching in a hull shader control point function.
2025-10-03 00:23:02 +02:00
Conor McCarthy
2d508a2fa6
vkd3d-shader: Set the program block count to the maximum for any function.
...
The block count is intended to be used for allocation of block info.
2025-10-03 00:22:03 +02:00
Conor McCarthy
a5a8a4cc99
tests/hlsl: Add a test for branching in a hull shader patch constant function.
2025-10-03 00:19:03 +02:00
Henri Verbeet
6174d1af5d
vkd3d-shader/msl: Implement VSIR_OP_FREM.
2025-09-30 17:16:32 +02:00
Henri Verbeet
521efaeb7b
vkd3d-shader/msl: Implement VSIR_OP_ATAN.
2025-09-30 17:16:32 +02:00
Henri Verbeet
d9d2a00ef3
vkd3d-shader/msl: Implement VSIR_OP_ASIN.
2025-09-30 17:16:32 +02:00