mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07: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
|
else
|
||||||
{
|
{
|
||||||
TRACE("Failed to convert SPIR-V binary to text, ret %d.\n", ret);
|
FIXME("Failed to convert SPIR-V binary to text, ret %d.\n", ret);
|
||||||
TRACE("Diagnostic message: %s.\n", debugstr_a(diagnostic->error));
|
FIXME("Diagnostic message: %s.\n", debugstr_a(diagnostic->error));
|
||||||
}
|
}
|
||||||
|
|
||||||
spvTextDestroy(text);
|
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),
|
if ((ret = spvValidateBinary(context, spirv->code, spirv->size / sizeof(uint32_t),
|
||||||
&diagnostic)))
|
&diagnostic)))
|
||||||
{
|
{
|
||||||
TRACE("Failed to validate SPIR-V binary, ret %d.\n", ret);
|
FIXME("Failed to validate SPIR-V binary, ret %d.\n", ret);
|
||||||
TRACE("Diagnostic message: %s.\n", debugstr_a(diagnostic->error));
|
FIXME("Diagnostic message: %s.\n", debugstr_a(diagnostic->error));
|
||||||
}
|
}
|
||||||
|
|
||||||
spvDiagnosticDestroy(diagnostic);
|
spvDiagnosticDestroy(diagnostic);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user