shader: write error message with vrend_printf

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
macos/master
Gert Wollny 3 years ago
parent 0a1f0df9d3
commit b6b8e49ea3
  1. 2
      src/vrend_shader.c

@ -6870,7 +6870,7 @@ static int emit_ios(const struct dump_ctx *ctx,
emit_ios_cs(ctx, glsl_strbufs); emit_ios_cs(ctx, glsl_strbufs);
break; break;
default: default:
fprintf(stderr, "Unknown shader processor %d\n", ctx->prog_type); vrend_printf("Unknown shader processor %d\n", ctx->prog_type);
set_hdr_error(glsl_strbufs); set_hdr_error(glsl_strbufs);
return glsl_ver_required; return glsl_ver_required;
} }

Loading…
Cancel
Save