dzn: Use mesa_loge for DXIL validation errors
authorJesse Natalie <jenatali@microsoft.com>
Thu, 23 Mar 2023 15:41:00 +0000 (08:41 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 21:48:44 +0000 (21:48 +0000)
This allows them to be printed to OutputDebugString

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21913>

src/microsoft/vulkan/dzn_pipeline.c

index d2f3bac..bdccac0 100644 (file)
@@ -448,7 +448,7 @@ dzn_pipeline_compile_shader(struct dzn_device *device,
 
    if (!res) {
       if (err) {
-         fprintf(stderr,
+         mesa_loge(
                "== VALIDATION ERROR =============================================\n"
                "%s\n"
                "== END ==========================================================\n",