tests/shader_runner: Add support for testing explicit descriptor mapping.

When no descriptor mapping is specified, the backend will just
build the usual default mapping. Otherwise the explicit mapping
is used.

Once all backends support the explicit mapping, we'll be able to
handle generating the default mapping in the shader runner core
rather than having each backend implement its own algorithm.

So far only the d3d12 backend supports explicit descriptor
mapping.
This commit is contained in:
Giovanni Mascellani
2025-10-20 21:58:23 +02:00
committed by Henri Verbeet
parent 6b157cc149
commit da6ce78c1c
Notes: Henri Verbeet 2025-10-30 20:00:19 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1805
5 changed files with 254 additions and 41 deletions

View File

@@ -104,6 +104,7 @@ vkd3d_shader_tests = \
tests/hlsl/default-values.shader_test \
tests/hlsl/depth-bounds.shader_test \
tests/hlsl/depth-out.shader_test \
tests/hlsl/descriptors.shader_test \
tests/hlsl/determinant.shader_test \
tests/hlsl/discard.shader_test \
tests/hlsl/distance.shader_test \