tests: Fix comparisons in test_vrs

Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
Joshua Ashton 2021-03-25 08:12:12 +00:00 committed by Hans-Kristian Arntzen
parent 82a1dc22a2
commit 3284f062de
1 changed files with 1 additions and 1 deletions

View File

@ -48292,7 +48292,7 @@ static void test_vrs(void)
ID3D12GraphicsCommandList5_DrawInstanced(command_list, 3, 1, 0, 0);
transition_resource_state(context.list, context.render_target,
D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_COPY_SOURCE);
check_sub_resource_uint(context.render_target, 0, queue, context.list, tests[i].expected_color, 1);
check_sub_resource_uint(context.render_target, 0, queue, context.list, tests[i].expected_color, 0);
reset_command_list(context.list, context.allocator);
transition_resource_state(context.list, context.render_target,