Commit Graph

2535 Commits

Author SHA1 Message Date
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
Henri Verbeet
b2aac30430 vkd3d-shader/msl: Implement VSIR_OP_ACOS. 2025-09-30 17:16:32 +02:00
Henri Verbeet
ab54fc7b29 vkd3d-shader/msl: Implement VSIR_OP_HTAN. 2025-09-30 17:16:32 +02:00
Giovanni Mascellani
ad8e41f8f2 vkd3d-shader/msl: Implement VKD3DSPR_THREADID. 2025-09-30 17:02:01 +02:00
Giovanni Mascellani
6ecfcf1910 tests/hlsl: Add a test for SV_DispatchThreadId. 2025-09-30 16:58:02 +02:00
Giovanni Mascellani
7e1fa8f3df tests/shader_runner_metal: Enable supported UAV formats. 2025-09-30 16:57:17 +02:00
Henri Verbeet
161c815a39 vkd3d-shader/msl: Implement VSIR_OP_HSIN. 2025-09-29 12:51:08 +02:00
Henri Verbeet
d0ef67234d vkd3d-shader/msl: Implement VSIR_OP_HCOS. 2025-09-29 12:51:08 +02:00
Henri Verbeet
f28c9e116b vkd3d-shader/msl: Implement VSIR_OP_TAN. 2025-09-29 12:51:08 +02:00
Henri Verbeet
68dd93b7e8 vkd3d-shader/msl: Implement VSIR_OP_SIN. 2025-09-29 12:51:08 +02:00
Henri Verbeet
3794411d95 vkd3d-shader/msl: Implement VSIR_OP_COS. 2025-09-29 12:51:08 +02:00
Giovanni Mascellani
acccbc483e tests/hlsl: Allow a larger error tolerance on a trigonometry test.
Otherwise it fails on NVIDIA GPUs.
2025-09-29 12:49:31 +02:00
Giovanni Mascellani
1acd6188f3 tests/hlsl: Skip testing frexp(inf) for shader models < 4. 2025-09-29 12:48:33 +02:00