mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
tests: Release the code blob in test_thread_id() (Valgrind).
This commit is contained in:
parent
5905489b7f
commit
2359ebc976
Notes:
Alexandre Julliard
2024-02-09 22:56:13 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/622
@ -525,6 +525,7 @@ static void test_thread_id(void)
|
||||
cs_code = compile_shader(cs_source, "cs_5_0");
|
||||
context.pipeline_state = create_compute_pipeline_state(device, context.root_signature,
|
||||
shader_bytecode(ID3D10Blob_GetBufferPointer(cs_code), ID3D10Blob_GetBufferSize(cs_code)));
|
||||
ID3D10Blob_Release(cs_code);
|
||||
|
||||
ID3D12GraphicsCommandList_SetPipelineState(command_list, context.pipeline_state);
|
||||
ID3D12GraphicsCommandList_SetComputeRootSignature(command_list, context.root_signature);
|
||||
|
Loading…
Reference in New Issue
Block a user