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
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
Giovanni Mascellani
d34f5fbae2
tests/shader_runner: Allow selecting the compiler.
2025-03-10 15:12:45 +01:00
Giovanni Mascellani
5a898254b0
tests/shader_runner: Allow selecting the executor.
2025-03-10 15:12:33 +01:00
Petrichor Park
f05386e006
tests/shader_runner: Allow controlling which shader models to run via command line.
...
Adds new flags --sm-min and --sm-max. They each take a shader model
identifier, with the same syntax as in the test harness. If either is
present, then it will only run tests within the (inclusive) range.
Omitting one allows anything as the min/max.
2025-03-10 15:12:25 +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