tests: Work around a MoltenVK bug in test_tgsm().

This commit is contained in:
Giovanni Mascellani 2023-09-25 22:32:47 +02:00 committed by Alexandre Julliard
parent 83ddfb9e8d
commit 4374d45655
Notes: Alexandre Julliard 2023-09-26 22:48:16 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/365

View File

@ -21638,6 +21638,7 @@ static void test_tgsm(void)
/* cs_structured_tgsm */
reset_command_list(command_list, context.allocator);
bug_if(is_mvk_device(context.device))
context.pipeline_state = create_compute_pipeline_state(device, context.root_signature, cs_structured_tgsm);
buffer2 = create_default_buffer(device, 1024,
@ -21690,6 +21691,7 @@ static void test_tgsm(void)
}
release_resource_readback(&rb);
if (context.pipeline_state)
ID3D12PipelineState_Release(context.pipeline_state);
/* cs_structured_tgsm_float */