Module: vkd3d
Branch: master
Commit: 22a0f14a2f4f89797e9cf25e018f2bd51eff7fcb
URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/22a0f14a2f4f89797e9cf25e018f2…
Author: Francisco Casas <fcasas(a)codeweavers.com>
Date: Mon Jan 22 20:20:18 2024 -0300
tests/shader-runner: Separate resource_type into type and dimension.
If in the same shader_test file we have both a [buffer uav n] and a
[uav n] with the same slot "n", we want the last one to override the
first one instead of passing both resources to the backends.
Same for [buffer srv n] and [texture n] after we introduce SRV buffers.
---
tests/shader_runner.c | 13 ++-
tests/shader_runner.h | 9 +-
tests/shader_runner_d3d11.c | 190 ++++++++++++++++++----------------
tests/shader_runner_d3d12.c | 65 ++++++------
tests/shader_runner_d3d9.c | 2 -
tests/shader_runner_gl.c | 123 ++++++++++++----------
tests/shader_runner_vulkan.c | 238 +++++++++++++++++++++++--------------------
7 files changed, 351 insertions(+), 289 deletions(-)