Matteo Bruni (@Mystral) commented about dlls/d3dcompiler_43/compiler.c:
ret = vkd3d_shader_preprocess(&compile_info, &byte_code, &messages);
- if (!ret)
- {
if (FAILED(hr = D3DCreateBlob(byte_code.size, shader_blob)))
{
vkd3d_shader_free_shader_code(&byte_code);
return hr;
}
memcpy(ID3D10Blob_GetBufferPointer(*shader_blob), byte_code.code, byte_code.size);
- }
- else
- {
ERR("Failed to compile shader, vkd3d result %d.\n", ret);
- }
Same comment as the other patch.