mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Work around a MoltenVK bug in test_tgsm().
This commit is contained in:
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
@ -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,7 +21691,8 @@ static void test_tgsm(void)
|
||||
}
|
||||
release_resource_readback(&rb);
|
||||
|
||||
ID3D12PipelineState_Release(context.pipeline_state);
|
||||
if (context.pipeline_state)
|
||||
ID3D12PipelineState_Release(context.pipeline_state);
|
||||
|
||||
/* cs_structured_tgsm_float */
|
||||
reset_command_list(command_list, context.allocator);
|
||||
|
Loading…
Reference in New Issue
Block a user