Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 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.
- - - - -
30 changed files:
- tests/hlsl/bool-semantics.shader_test - tests/hlsl/clip-distance.shader_test - tests/hlsl/compute.shader_test - tests/hlsl/coverage.shader_test - tests/hlsl/depth-out.shader_test - tests/hlsl/discard.shader_test - tests/hlsl/geometry.shader_test - tests/hlsl/get-sample-pos.shader_test - tests/hlsl/is-front-face.shader_test - tests/hlsl/matrix-semantics.shader_test - tests/hlsl/multiple-rt.shader_test - tests/hlsl/nointerpolation.shader_test - tests/hlsl/numthreads.shader_test - tests/hlsl/rasteriser-ordered-views.shader_test - tests/hlsl/rt-get-sample-info.shader_test - tests/hlsl/sample-cmp.shader_test - tests/hlsl/shader-interstage-interface.shader_test - tests/hlsl/sm6-uav-rwtexture.shader_test - tests/hlsl/static-initializer.shader_test - tests/hlsl/struct-semantics.shader_test - tests/hlsl/texture-load-typed.shader_test - tests/hlsl/tgsm.shader_test - tests/hlsl/uav-atomics.shader_test - tests/hlsl/uav-counter.shader_test - tests/hlsl/uav-load.shader_test - tests/hlsl/uav-out-param.shader_test - tests/hlsl/uav-rwbuffer.shader_test - tests/hlsl/uav-rwbyteaddressbuffer.shader_test - tests/hlsl/uav-rwtexture.shader_test - tests/hlsl/wave-ops-float.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/738ecc9eb1ee65e426a4ea8186e44...