Conor McCarthy
f9d12e5596
tests/hlsl: Add a precise MAD test where the first component is not x.
2025-10-15 12:41:49 +02:00
Henri Verbeet
a2ce610cc9
vkd3d-shader/glsl: Handle VSIR_DATA_SNORM and VSIR_DATA_UNORM in shader_glsl_vprint_assignment().
2025-10-15 12:41:49 +02:00
Conor McCarthy
1586c2294a
vkd3d-shader/spirv: Handle VSIR_DATA_SNORM and VSIR_DATA_UNORM in spirv_get_type_id().
2025-10-15 12:41:49 +02:00
Henri Verbeet
f02c0e9be8
tests/hlsl: Add tests for unorm and snorm buffer SRVs.
2025-10-15 12:41:49 +02:00
Henri Verbeet
9b98761909
vkd3d-shader/msl: Implement VSIR_OP_IREM.
2025-10-14 15:49:18 +02:00
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
62fa65066f
tests/shader_runner: Use format names if available in trace_format_cap().
2025-10-13 19:04:19 +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
dd55b15865
vkd3d-shader/ir: Implement an initial vsir copy propagation pass.
2025-10-13 18:55:42 +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
Giovanni Mascellani
cd64aa69c8
tests/shader_runner: Introduce a new tag system.
...
Mostly to be able to associate a version number to each tag and
get rid of all the foo<1.2.3 tags. The new system also has fixed
tag slots, rather than dealing with strings, so we don't have to
manually adjust the size of the `tags' array.
With the new system each tag can be present or not, and if it is
present it can have an associated version number (of the form
major.minor.patch). If the version is not available, it is set to
0.0.0. Each tag can be queried for existence and for comparison
with the version number.
2025-10-06 19:41:09 +02:00
Giovanni Mascellani
41515b7047
tests: Introduce get_llvm_driver_version().
2025-10-06 15:22:06 +02:00
Giovanni Mascellani
42016ab09c
tests: Introduce get_nvidia_driver_version().
2025-10-06 15:22:06 +02:00
Giovanni Mascellani
190033bb85
tests: Introduce get_mvk_driver_version().
2025-10-06 15:22:06 +02:00
Giovanni Mascellani
265d0fddb5
tests: Introduce get_mesa_driver_version().
2025-10-06 15:22:06 +02:00
Giovanni Mascellani
92837899cd
tests: Introduce get_vulkan_driver_version().
2025-10-06 15:22:06 +02:00
Giovanni Mascellani
1ac58e58e6
tests: Remove is_mesa_intel_device().
...
It is never used.
2025-10-06 15:22:06 +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