Francisco Casas
cf726cf521
tests/shader_runner_d3d12: Handle the "bug" qualifier on state creation failure.
2025-06-23 17:50:37 +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
9ab1cadaa5
tests/hlsl: Mark some tests in wave-ops-uint.shader_test as buggy on MoltenVK.
...
It seems that SPIRV-Cross is generating bad MSL code, and Metal
rejects it.
2025-05-27 19:32:19 +02:00
Giovanni Mascellani
cbce3a8631
tests/shader_runner: Always set descriptor heaps.
2025-04-09 16:42:16 +02:00
Victor Chiletto
7b21183f45
tests/shader_runner_d3d12: Pass the structure byte stride for SRVs.
2025-04-08 19:18:56 +02:00
Giovanni Mascellani
fc4316f664
tests/shader_runner: Avoid creating devices for backends that won't execute.
...
My main motivation to this is avoiding generating a lot of useless
log lines from other executors when I'm interested in just one of
them, but I can imagine this also somewhat improving efficiency.
2025-03-17 14:01:22 +01:00
Giovanni Mascellani
0b273ea88c
tests: Store the compiler string in the shader runner capabilities.
...
Just like the executor.
2025-03-17 13:50:19 +01:00
Henri Verbeet
1fd89abcc3
vkd3d-shader: Enable DXIL support in the default configuration.
2025-02-24 15:10:08 +01:00
Giovanni Mascellani
8887501042
tests: Test I/O index ranges not intersecting a signature element for a given register.
...
Since this test depend on the specific code generated by the
native d3dcompiler we add the possibility to specify a "raw"
shader using a hex format. When the shader assembler is finally
available they should be replaced with assembly code.
2025-02-19 17:01:17 +01:00
Conor McCarthy
033a0d29c5
tests/hlsl: Add some arithmetic uint16 shader tests.
2025-01-28 13:13:44 +01:00
Conor McCarthy
a557ad0aea
tests/hlsl: Add a test for SV_RenderTargetArrayIndex.
2025-01-27 14:52:28 +01:00
Anna (navi) Figueiredo Gomes
d5ed4df254
tests/shader_runner: Add a "mesa<23.3" tag.
2024-12-19 20:34:55 +01:00
Giovanni Mascellani
ed552e4519
tests/hlsl: Add tests for the EvaluateAttribute*() intrinsics.
...
Based on earlier tests by Conor McCarthy.
2024-12-18 17:27:31 +01:00
Conor McCarthy
f0f8bb3f36
tests/hlsl: Add float64 wave op tests.
2024-12-09 14:17:05 +01:00
Giovanni Mascellani
3264378fa0
tests: Print the file name instead of the test name in test logs.
...
Some test programs, particularly the shader runner, are built from
many different files nowadays, and a line number is relatively
cumbersome to use if you don't know which file that line comes from.
2024-12-03 12:38:26 +01:00
Nikolay Sivov
e5ba79b4f1
vkd3d-shader/hlsl: Implement the ByteAddressBuffer.Load*() methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com >
2024-11-06 22:09:23 +01:00
Henri Verbeet
aeae8322da
tests: Add a test for actual multisample loads.
...
The existing test loads from a single sample texture.
2024-10-28 17:58:05 +01:00
Henri Verbeet
072b45b972
tests/shader_runner_d3d12: Introduce a helper to get the default resource state for a resource.
2024-10-28 17:58:05 +01:00
Henri Verbeet
cc340b2838
tests/shader_runner: Handle render target sizes other than 640x480.
2024-10-28 17:58:05 +01:00
Elizabeth Figura
b3eee0a323
tests/shader_runner: Centralize the compile_hlsl() helper in shader_runner.c.
2024-10-28 17:23:10 +01:00
Elizabeth Figura
591ae5e18e
tests/shader_runner: Store the dxc_compiler in the shader_runner.
2024-10-28 17:23:10 +01:00
Elizabeth Figura
b492ebc374
tests/shader_runner: Store shader sources as an array.
2024-10-28 17:23:06 +01:00
Elizabeth Figura
d39e840c14
tests/shader_runner: Store shader caps using an array.
2024-10-28 16:20:27 +01:00
Giovanni Mascellani
dff7c0e7b8
tests: Mark interface packing pipeline creation as todo on MoltenVK.
...
Most Vulkan drivers are happy to compile a pipeline with interstage
interface mismatches, even if the pipeline will be broken. Metal,
and therefore MoltenVK, instead doesn't and errors out immediately.
2024-10-22 20:32:51 +02:00