tests: Use a macro to define the render target size.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2022-03-19 12:35:34 -05:00
committed by Alexandre Julliard
parent e5be178fe2
commit 099df706f0
4 changed files with 12 additions and 9 deletions

View File

@@ -269,8 +269,8 @@ void run_shader_tests_d3d12(int argc, char **argv)
{
static const struct test_context_desc desc =
{
.rt_width = 640,
.rt_height = 480,
.rt_width = RENDER_TARGET_WIDTH,
.rt_height = RENDER_TARGET_HEIGHT,
.no_root_signature = true,
.rt_format = DXGI_FORMAT_R32G32B32A32_FLOAT,
};