Giovanni Mascellani
8da518f2cd
tests: Fix the shader model requirements for a ps_5_0 shader.
...
In practice this is irrelevant, but better get our tests
consistent.
2025-06-09 16:22:19 +02:00
Giovanni Mascellani
45ef9fdbe8
tests: Add a test about discontiguous input swizzles in bytecode format.
2025-06-09 16:22:19 +02:00
Henri Verbeet
d881356ab2
vkd3d-shader/msl: Implement VKD3DSIH_IGE.
2025-06-09 16:20:53 +02:00
Henri Verbeet
3673b65485
vkd3d-shader/msl: Implement VKD3DSIH_IADD.
2025-06-09 16:20:53 +02:00
Henri Verbeet
cc33439f19
vkd3d-shader/msl: Implement VKD3DSIH_EQO.
2025-06-09 16:20:53 +02:00
Henri Verbeet
fc6249a228
vkd3d-shader/msl: Implement support for VKD3DSPR_SAMPLEMASK registers.
2025-06-09 16:20:53 +02:00
Henri Verbeet
ea5cf883fa
vkd3d-shader/msl: Implement support for VKD3DSPR_IDXTEMP registers.
2025-06-09 16:20:53 +02:00
Henri Verbeet
5ea697b8eb
vkd3d-shader/msl: Handle SV_SAMPLE_INDEX inputs.
2025-06-05 15:58:44 +02:00
Henri Verbeet
cf312e14a9
vkd3d-shader/msl: Handle SV_VERTEX_ID inputs.
2025-06-05 15:58:44 +02:00
Henri Verbeet
e948098ae3
vkd3d-shader/msl: Handle SV_POSITION inputs.
2025-06-05 15:58:44 +02:00
Henri Verbeet
f14a0dfe07
vkd3d-shader/msl: Implement support for indirect constant buffer addressing.
2025-06-05 15:58:01 +02:00
Giovanni Mascellani
87fe08fe0e
tests/hlsl: Test TGSMs with minimum precision unsigned integers.
2025-06-05 15:50:23 +02:00
Giovanni Mascellani
1d77d51ca4
tests/hlsl: Test some quirks of TGSMs with SM < 5.0.
...
I'm not specifically interested in that, but since I ran into
those idiosyncrasies while writing other TGSM tests I decided that
it might turn out useful to keep them.
2025-06-05 15:50:04 +02:00
Giovanni Mascellani
0236308866
tests/hlsl: Test minimum precision IDXTEMP registers.
2025-06-05 15:50:01 +02:00
Giovanni Mascellani
a4c727ac40
tests: Mark some tests in calculate-lod.shader_test as buggy on MoltenVK < 1.2.11.
2025-06-04 13:04:53 +02:00
Giovanni Mascellani
c82d1aac4d
tests: Mark some tests in arithmetic-int-uniform.shader_test as buggy on MoltenVK < 1.2.11.
...
The bug is already solved on recent MoltenVK versions, but the CI
is stuck with 1.2.9, so it's useful to filter these failures out.
2025-06-04 13:04:53 +02:00
Henri Verbeet
85d2703c03
tests/shader_runner: Introduce a "tessellation-shader" cap.
...
Similar to how we have the "geometry-shader" cap. In principle shader
model 5+ implies support for tessellation shaders, but the Vulkan,
OpenGL, and Metal runners are able to support most of shader model 5+
without the underlying GPU (or API) necessarily supporting tessellation
shaders.
2025-06-04 12:10:10 +02:00
Giovanni Mascellani
9f0185f304
vkd3d-shader/msl: Support the ABSNEG source modifier.
2025-06-02 20:36:42 +02:00
Giovanni Mascellani
bc0dd891c3
vkd3d-shader/glsl: Support the ABSNEG source modifier.
2025-06-02 20:35:48 +02:00
Giovanni Mascellani
ed60dd5926
tests: Add a test for the ABSNEG source modifier.
2025-06-02 20:33:13 +02:00
Giovanni Mascellani
215dfe0450
tests/hlsl: Mark some tests in wave-ops-float.shader_test as buggy on MoltenVK.
...
I haven't investigated the problem, but since the tests work for
other implementations and MoltenVK is not always perfect it's likely
that the problem is there.
2025-06-02 20:22:58 +02:00
Giovanni Mascellani
0b9268a91b
tests/hlsl: Mark some tests in geometry.shader_test as buggy on MoltenVK.
...
They use geometry shaders, which MoltenVK doesn't support. However
D3D12 has no way to indicate they're unsupported, so the problem
doesn't surface as a failed draw, but rather as a draw that doesn't
do anything.
2025-06-02 20:22:43 +02:00
Giovanni Mascellani
ea4f1dece5
tests/hlsl: Mark a test in entry-point-semantics.shader_test as buggy on MoltenVK with DXIL.
...
It seems that SPIRV-Cross is generating bad MSL code, and Metal
rejects it.
2025-06-02 20:22:35 +02:00
Giovanni Mascellani
c8b07e9fa6
tests/hlsl: Mark a test in register-reservation-resources.shader_test as todo on MoltenVK with DXIL.
...
I haven't investigated what's happening.
2025-06-02 20:22:22 +02:00
Giovanni Mascellani
898bc5c4c8
tests/hlsl: Mark a test in sm6-uav-rwtexture.shader_test as todo on MoltenVK.
...
I haven't investigated what's happening.
2025-06-02 20:22:12 +02:00