Commit Graph

8254 Commits

Author SHA1 Message Date
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
Henri Verbeet
b7b62c9f03 vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_emit_store_scalar(). 2025-10-06 15:21:03 +02:00
Henri Verbeet
384f07a140 vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_emit_vector_shuffle(). 2025-10-06 15:21:03 +02:00
Henri Verbeet
beb0b7bcfc vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_emit_swizzle(). 2025-10-06 15:21:03 +02:00
Henri Verbeet
94990717f9 vkd3d-shader/spirv: Pass a vsir_data_type to spirv_compiler_emit_array_variable(). 2025-10-06 15:21:03 +02:00
Henri Verbeet
8923847ed0 vkd3d-shader/spirv: Use vsir_data_type in struct vkd3d_shader_output_info. 2025-10-06 15:21:03 +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
Shaun Ren
53ac7dcd9f tests/shader_runner_d3d9: Add multisampling support. 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
Shaun Ren
cc53965ea9 vkd3d-shader/hlsl: Reject SM1 programs with interpolation modifiers. 2025-10-06 14:39:47 +02:00
Elizabeth Figura
322c91e3f8 vkd3d-shader/ir: Introduce a vsir DCE pass. 2025-10-06 14:38:32 +02:00
Elizabeth Figura
c7529028eb vkd3d-shader/hlsl: Use unique IDs for descriptors before 5.1. 2025-10-06 14:22:58 +02:00
Elizabeth Figura
62b7c5b5e6 vkd3d-shader/hlsl: Use the semantic.resource_type field for texture DCL instructions.
ins->resource_type is intended for VKD3D_SM5_MODIFIER_RESOURCE_TYPE, which is
not used for DCL instructions. At the same time, the validator checks
semantic.resource_type, and would break on HLSL shaders.
2025-10-06 14:22:58 +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