mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
libs/vkd3d-shader: Use appropriate message severity for invalid SPIR-V shaders.
This commit is contained in:
parent
8c5d542950
commit
d8d5701409
@ -52,8 +52,8 @@ static void vkd3d_spirv_dump(const struct vkd3d_shader_code *spirv)
|
||||
}
|
||||
else
|
||||
{
|
||||
TRACE("Failed to convert SPIR-V binary to text, ret %d.\n", ret);
|
||||
TRACE("Diagnostic message: %s.\n", debugstr_a(diagnostic->error));
|
||||
FIXME("Failed to convert SPIR-V binary to text, ret %d.\n", ret);
|
||||
FIXME("Diagnostic message: %s.\n", debugstr_a(diagnostic->error));
|
||||
}
|
||||
|
||||
spvTextDestroy(text);
|
||||
@ -72,8 +72,8 @@ static void vkd3d_spirv_validate(const struct vkd3d_shader_code *spirv)
|
||||
if ((ret = spvValidateBinary(context, spirv->code, spirv->size / sizeof(uint32_t),
|
||||
&diagnostic)))
|
||||
{
|
||||
TRACE("Failed to validate SPIR-V binary, ret %d.\n", ret);
|
||||
TRACE("Diagnostic message: %s.\n", debugstr_a(diagnostic->error));
|
||||
FIXME("Failed to validate SPIR-V binary, ret %d.\n", ret);
|
||||
FIXME("Diagnostic message: %s.\n", debugstr_a(diagnostic->error));
|
||||
}
|
||||
|
||||
spvDiagnosticDestroy(diagnostic);
|
||||
|
Loading…
x
Reference in New Issue
Block a user