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.
This commit is contained in:
Francisco Casas
2024-08-01 19:13:31 -04:00
committed by Henri Verbeet
parent fb153bf5d4
commit b701f8d393
Notes: Henri Verbeet 2024-08-22 16:43:21 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/991
21 changed files with 289 additions and 35 deletions

View File

@@ -128,6 +128,12 @@ struct input_element
#define MAX_RESOURCES 32
#define MAX_SAMPLERS 32
#define DXGI_FORMAT_COUNT (DXGI_FORMAT_B4G4R4A4_UNORM + 1)
enum format_cap
{
FORMAT_CAP_UAV_LOAD = 0x00000001,
};
struct shader_runner_caps
{
@@ -140,6 +146,8 @@ struct shader_runner_caps
bool int64;
bool rov;
bool wave_ops;
uint32_t format_caps[DXGI_FORMAT_COUNT];
};
static inline unsigned int shader_runner_caps_get_feature_flags(const struct shader_runner_caps *caps)
@@ -174,6 +182,7 @@ struct shader_runner
bool require_int64;
bool require_rov;
bool require_wave_ops;
uint32_t require_format_caps[DXGI_FORMAT_COUNT];
bool last_render_failed;