Henri Verbeet
62fa65066f
tests/shader_runner: Use format names if available in trace_format_cap().
2025-10-13 19:04:19 +02:00
Henri Verbeet
c522db8ce8
tests/shader_runner: Handle the "rgba" probe format as an alias for "f32".
2025-10-07 13:12:36 +02:00
Giovanni Mascellani
cd64aa69c8
tests/shader_runner: Introduce a new tag system.
...
Mostly to be able to associate a version number to each tag and
get rid of all the foo<1.2.3 tags. The new system also has fixed
tag slots, rather than dealing with strings, so we don't have to
manually adjust the size of the `tags' array.
With the new system each tag can be present or not, and if it is
present it can have an associated version number (of the form
major.minor.patch). If the version is not available, it is set to
0.0.0. Each tag can be queried for existence and for comparison
with the version number.
2025-10-06 19:41:09 +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
Giovanni Mascellani
463df8e1ea
tests/hlsl: Skip a shader model 6 floating-point comparison test on Windows NVIDIA.
2025-09-29 12:44:53 +02:00
Giovanni Mascellani
87435aca8a
tests/hlsl: Skip a d3d11 minimum precision array indexing test on NVIDIA.
2025-09-29 12:39:48 +02:00
Henri Verbeet
a083748626
tests/shader_runner: Use read_f64() to parse "uniform" directives.
2025-08-21 15:29:27 +02:00
Henri Verbeet
31136ead05
tests/shader_runner: Use read_f32() to parse "uniform" directives.
2025-08-21 15:29:27 +02:00
Henri Verbeet
243207701b
tests/shader_runner: Parse hex blobs as a list of 32-bit integers.
2025-08-04 15:00:02 +02:00
Giovanni Mascellani
3817df1164
tests/shader_runner_metal: Run the Metal shader runner with DXIL shaders.
2025-08-04 14:34:23 +02:00
Conor McCarthy
cd8cea6913
tests: Replace test_ps_viewport_index() with a shader runner test.
...
Mainly to allow testing the functionality in question with DXIL shaders
as well.
2025-07-31 14:55:33 +02:00
Giovanni Mascellani
3797c922a5
tests/hlsl: Test SV_GSInstanceID.
2025-07-29 12:50:23 +02:00
Elizabeth Figura
e312207124
tests/shader_runner: Add support for cube resources.
2025-06-26 17:38:55 +02:00
Elizabeth Figura
587c2dc76e
tests/shader_runner: Add support for 3D resources.
2025-06-26 17:31:34 +02:00
Giovanni Mascellani
46fac7f264
tests: Add a test for the partial precision destination modifier.
2025-06-19 19:48:56 +02:00
Henri Verbeet
cea7b4e920
tests/shader_runner: Introduce the "f32" probe format.
2025-06-10 17:49:13 +02:00
Henri Verbeet
9c987e5a0b
tests/shader_runner: Introduce the "u32" probe format.
2025-06-10 17:48:19 +02:00
Henri Verbeet
95cf0a8b2c
tests/shader_runner: Introduce the "i32" probe format.
2025-06-10 17:47:32 +02:00
Henri Verbeet
73820756d1
tests/shader_runner: Introduce the "f64" probe format.
2025-06-10 17:46:51 +02:00
Henri Verbeet
b09e9159ba
tests/shader_runner: Introduce the "u64" probe format.
2025-06-10 17:46:51 +02:00
Henri Verbeet
261cdb0f29
tests/shader_runner: Rename the "ri64" probe format to "i64".
2025-06-10 17:46:51 +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
Henri Verbeet
4e783e2d66
tests/shader_runner: Get rid of enum texture_data_type.
2025-04-14 15:48:24 +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