-
164076d1
by Francisco Casas at 2024-08-22T16:01:26+02:00
tests/shader_runner: Require explicit formats for UAV resources.
The current default is r32g32b32a32 but it requires special support
which is not available on all GPUs, so it is not a very convenient
default.
Instead of changing the default making it different from RTV resoures,
the format is required to always be explicit for UAVs.
The exceptions are counter_buffer and buffers with "stride", which don't
require a format because it is already implied.
-
cec62c54
by Francisco Casas at 2024-08-22T16:01:32+02:00
tests/shader_runner: Move parse_format() up.
-
19c23ca6
by Francisco Casas at 2024-08-22T16:01:37+02:00
tests/shader_runner: Replace spaces with dashes in format names.
Probably good if we want to allow specifying several formats in the same
line, separated by spaces.
While at it, rename "r32g32 int" to "r32g32-sint".
-
fb153bf5
by Francisco Casas at 2024-08-22T16:01:37+02:00
tests/shader_runner: Don't skip shader compilation on missing caps.
Currently we are skipping compilation tests ([* shader] blocks) on
missing capabilities. This is not really necessary and it is useful to
test shader compilation even on machines that can't run these tests.
So, this commit moves the checks to the [test] blocks, skipping them
entirely when caps are not met.
To make the effects of enum test_action values more explicit, these
are renamed to TEST_ACTION_SKIP_COMPILATION and
TEST_ACTION_SKIP_EXECUTION.
-
b701f8d3
by Francisco Casas at 2024-08-22T16:22:18+02:00
tests/shader_runner: Explicitly require UAV load support.
The used UAV formats are explicitly added in the [require] section of
every test that uses them.
Some of these tests were failing on Intel UHD graphics 770 because of
missing support for additional UAV load types, explicitly requiring
these formats allows these tests to be skipped.
-
f5ed0d9e
by Francisco Casas at 2024-08-22T16:22:29+02:00
tests/test-driver: Avoid double space when printing details.
Save screen real estate.