Giovanni Mascellani
f7c2fbfe85
tests/hlsl: Test casting doubles to minimum precision integers.
2025-05-27 17:20:14 +02:00
Henri Verbeet
ffafa7fdaa
tests/hlsl: Get rid of a MSL todo in geometry.shader_test.
...
The Metal/MSL runner doesn't support geometry shaders, so the test is
never executed on that runner.
2025-05-27 17:15:10 +02:00
Henri Verbeet
ee85e6b534
tests/hlsl: Require the "geometry-shader" cap for the relevant clip/cull-distance tests.
2025-05-27 17:15:10 +02:00
Henri Verbeet
5581c42a79
tests/shader_runner_d3d11: Direct3D 11 supports geometry shaders.
2025-05-27 17:15:10 +02:00
Henri Verbeet
0a28abd8f6
tests/shader_runner_metal: Try harder to find a suitable device.
2025-05-27 17:12:36 +02:00
Nikolay Sivov
11d4fcff46
vkd3d-shader/fx: Handle nameless structure types.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-05-24 21:19:42 +02:00
Shaun Ren
a4e43402e5
vkd3d-shader/hlsl: Support void pass-through hull shader control point functions.
2025-05-24 21:13:00 +02:00
Giovanni Mascellani
3fb662c9e7
tests/hlsl: Remove some tests from minimum-precision.shader_test.
...
Most of them fail on any native implementation I can put my hands
on, including the CI. Equivalent, but hopefully better, tests
were added to arithmetic-uint.shader_test and
arithmetic-int-uniform.shader_test.
2025-05-24 21:00:32 +02:00
Giovanni Mascellani
cb1ee9cdd5
tests/hlsl: Test minimum precision 16-bit signed integers.
2025-05-24 20:59:34 +02:00
Giovanni Mascellani
a477502a05
tests/hlsl: Test minimum precision 16-bit unsigned integers.
2025-05-24 20:57:42 +02:00
Giovanni Mascellani
fdc173506e
tests/hlsl: Test minimum precision stride in constant buffers.
2025-05-24 20:54:42 +02:00
Shaun Ren
4eab50755e
tests: Test signature reflection for geometry shader outputs.
2025-05-24 20:38:36 +02:00
Henri Verbeet
a93d258a86
Release 1.16.
2025-05-20 11:35:48 +02:00
Giovanni Mascellani
129b3a8c4b
tests: Check that shader-visible descriptor heaps have a valid GPU descriptor handle start.
...
We currently check that non-shader-visible heaps have a NULL
handle, but that doesn't seem to be guaranteed: beside WARP, also
NVIDIA drivers still return a valid pointer. And that's a pretty
useless check anyway; rather, check that shader-visible heaps
have a valid pointer, which is more interesting.
2025-05-15 14:11:10 +02:00
Giovanni Mascellani
1aa33ebc80
tests: Allow creating GPU upload heaps.
...
They are write-combine heaps on L1 memory, and were introduced
recently in Direct3D 12.
2025-05-15 14:10:53 +02:00
Giovanni Mascellani
d5410e3115
tests: Expect success when creating resources in certain cases.
...
Currently the tests expect that creating buffers in COMMON or
COPY_SOURCE state on UPLOAD heaps or in COMMON state on READBACK
heaps leads to a failure. I tested WARP, AMD and NVIDIA, and in
all cases the operations is successful.
I think the D3D12 runtime used reject resources created in the
configurations detailed above, but it doesn't any more (both
using the latest Agility SDK and the runtime distributed with
an updated Windows 11 system). However the CI still uses an
earlier runtime, so the old behavior is still allowed as
broken.
2025-05-15 14:09:23 +02:00
Elizabeth Figura
c1adf54a44
vkd3d-shader/hlsl: Forbid referring to typedefs with "struct".
2025-05-14 15:09:48 +02:00
Elizabeth Figura
8ca50a2f7e
tests/hlsl: Add more tests for struct syntax.
2025-05-14 15:09:42 +02:00
Elizabeth Figura
e16176672a
vkd3d-shader/hlsl: Validate "numthreads" attribute values.
2025-05-14 14:56:42 +02:00
Elizabeth Figura
cfb59828f3
tests/hlsl: Add more tests for the "numthreads" attribute.
2025-05-14 14:56:42 +02:00
Elizabeth Figura
a06b9f6646
vkd3d-shader/hlsl: Do not emit HLSL_OP1_ABS for unsigned types.
2025-05-14 14:55:59 +02:00
Elizabeth Figura
4a5411aa6e
vkd3d-shader/hlsl: Return a uint1 from GetRenderTargetSampleCount().
2025-05-12 15:29:23 +02:00
Elizabeth Figura
4cdea712d0
tests/hlsl: Show that GetRenderTargetSampleCount() returns a vector.
2025-05-12 15:28:49 +02:00
Nikolay Sivov
5d5d892830
vkd3d-shader/fx: Use the same BlendState states description for both fx_4_1 and fx_5_0.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-05-06 18:58:03 +02:00
Nikolay Sivov
d660a0d2ae
tests: Add a fx_4_1 compilation test for the BlendState states.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2025-05-06 18:58:03 +02:00