dzn: Fix incompatible pointer type error affecting MSYS2 MINGW32
Suggested-by: Yonggang Luo <luoyonggang@gmail.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6807 Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17414>
This commit is contained in:
parent
81968e80cb
commit
36516b869e
|
@ -356,7 +356,7 @@ dzn_pipeline_compile_shader(struct dzn_device *device,
|
|||
|
||||
if (nir_to_dxil(nir, &opts, &dxil_blob)) {
|
||||
blob_finish_get_buffer(&dxil_blob, (void **)&slot->pShaderBytecode,
|
||||
&slot->BytecodeLength);
|
||||
(size_t *)&slot->BytecodeLength);
|
||||
} else {
|
||||
result = vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue