tests/shader_runner: Introduce a 'depth-bounds' test option.

This commit is contained in:
Anna (navi) Figueiredo Gomes
2024-08-31 18:54:44 +02:00
committed by Henri Verbeet
parent 12a7cde092
commit 3eb2a3d0e4
Notes: Henri Verbeet 2024-09-11 15:31:24 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1031
6 changed files with 64 additions and 11 deletions

View File

@@ -146,6 +146,7 @@ struct shader_runner_caps
bool int64;
bool rov;
bool wave_ops;
bool depth_bounds;
uint32_t format_caps[DXGI_FORMAT_COUNT];
};
@@ -182,6 +183,7 @@ struct shader_runner
bool require_int64;
bool require_rov;
bool require_wave_ops;
bool require_depth_bounds;
uint32_t require_format_caps[DXGI_FORMAT_COUNT];
bool last_render_failed;
@@ -207,6 +209,8 @@ struct shader_runner
unsigned int compile_options;
D3D12_COMPARISON_FUNC depth_func;
bool depth_bounds;
float depth_min, depth_max;
enum vkd3d_shader_comparison_func alpha_test_func;
float alpha_test_ref;