tests: Only check lower 24-bit when testing D24 copies.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2021-11-09 15:10:48 +01:00
parent 2da535fbbf
commit a0eb938c7f
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ void test_copy_buffer_to_depth_stencil(void)
for (x = 0; x < 2; x++)
{
uint32_t v = get_readback_uint(&rb_depth, x, y, 0);
ok(v == tests[i].output_depth_24 || v == tests[i].input_depth, "Depth is 0x%x\n", v);
ok((v & 0xffffffu) == tests[i].output_depth_24 || v == tests[i].input_depth, "Depth is 0x%x\n", v);
}
}