Giovanni Mascellani
eb9e254b8c
tests/shader_runner_metal: Handle multisampled 2D texture arrays properly.
...
They're not supported by the shader runner anyway, but there's no
reason to make the code subtly wrong.
2025-04-14 14:38:38 +02:00
Giovanni Mascellani
cbce3a8631
tests/shader_runner: Always set descriptor heaps.
2025-04-09 16:42:16 +02:00
Giovanni Mascellani
bb8f1304ba
tests/d3d12: Always set descriptor heaps.
...
It seems AMD and WARP are not particularly sensitive to that, but
NVIDIA drivers crash if descriptor heaps are not set.
2025-04-09 16:41:33 +02:00
Conor McCarthy
fdd21470b9
tests/hlsl: Test casts from double to 16-bit integer types.
2025-04-09 16:39:07 +02:00
Conor McCarthy
bb8b4f3827
tests/hlsl: Test casts to 16-bit uint.
2025-04-09 16:22:19 +02:00
Conor McCarthy
3c950e5977
tests/hlsl: Test casts to 16-bit int.
2025-04-09 16:20:58 +02:00
Conor McCarthy
88a85024e2
tests/hlsl: Test casts to 16-bit float.
2025-04-09 16:20:53 +02:00
Giovanni Mascellani
7fb288819a
vkd3d-shader/msl: Set the prefix to "unknown" for unhandled shader types in msl_generator_init().
...
Like we do for GLSL; there's no reason to abort compilation here. Note
that this also avoids leaking "gen->buffer" and "gen->string_buffers" on
the error path.
2025-04-09 16:08:15 +02:00
Shaun Ren
0c139ef7a0
vkd3d-shader/hlsl: Add special allocation rules for patch constant data.
2025-04-09 16:02:12 +02:00
Shaun Ren
7ba84b7787
tests: Add signature reflection tests for register allocation rules in tessellation shaders.
2025-04-09 16:02:12 +02:00
Shaun Ren
d3b32fefa3
vkd3d-shader/tpf: Support SV_RenderTargetArrayIndex/SV_ViewportArrayIndex sysvals in tessellation shaders.
2025-04-09 16:02:12 +02:00
Shaun Ren
05f8dd8273
vkd3d-shader/hlsl: Prioritize smaller writemasks for all allocators in allocate_semantic_registers().
2025-04-09 16:02:12 +02:00
Shaun Ren
ec2f18ab17
vkd3d-shader/hlsl: Free all allocators in allocate_semantic_registers().
2025-04-09 16:02:12 +02:00
Shaun Ren
d1df10ac86
vkd3d-shader/hlsl: Use dcl_output_siv for patch constant function sysval outputs.
2025-04-09 16:02:12 +02:00
Henri Verbeet
70655012ab
demos: Move the vkd3d parts of demo_xcb.h into a separate header.
...
So that they can be used for e.g. Wayland or macOS support. Or Windows,
if we're so inclined.
2025-04-08 20:38:26 +02:00
Henri Verbeet
b12e3d8eec
demos: Get rid of some unused includes.
...
These were used for demo_load_shader(), but that was removed some time
ago in commit aa5d48eec4 .
2025-04-08 20:38:26 +02:00
Victor Chiletto
89d3e667e0
tests/hlsl: Add tests for SRV structured buffers.
2025-04-08 19:31:40 +02:00
Victor Chiletto
cc9f4ac587
tests/hlsl: Attempt to deduce the data type of unspecified type texture data.
...
Try parsing first as integer, and if the parse stops at a decimal separator, parse as float.
2025-04-08 19:18:57 +02:00
Victor Chiletto
7b21183f45
tests/shader_runner_d3d12: Pass the structure byte stride for SRVs.
2025-04-08 19:18:56 +02:00
Anna (navi) Figueiredo Gomes
3e8b56c509
vkd3d-shader/fx: Don't cast between int and uint in state blocks.
2025-04-08 19:14:15 +02:00
Anna (navi) Figueiredo Gomes
8866a43b2d
tests/hlsl: Add some fx_4_0 state tests.
2025-04-08 19:14:15 +02:00
Elizabeth Figura
f576ecc992
vkd3d-shader/hlsl: Introduce a compiler pass to vectorize stores.
2025-04-03 20:29:20 +02:00
Elizabeth Figura
1a999f74fc
vkd3d-shader/hlsl: Introduce a compiler pass to vectorize expressions.
2025-04-03 20:29:20 +02:00
Giovanni Mascellani
7b4a29da81
tests: Mark a todo as resolved on MoltenVK 1.2.12.
...
Technically it is not, the Vulkan commands we're generating are
still not correct. But let's get rid of the failure message.
2025-04-03 20:28:31 +02:00
Giovanni Mascellani
653e4f47ac
ci: Disable testing with DXC on macOS.
...
With this we can finally disallow failure for the macOS CI script,
which is more valuable than checking DXC. Eventually DXC tests
will have to be fixed, though.
2025-04-03 20:28:27 +02:00