shader: Don't clear precise flag, it defaults already to false

Suggested by John.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: John Bates <jbates@chromium.org>
macos/master
Gert Wollny 3 years ago
parent 43ee4fea8b
commit 4bd0ef0301
  1. 1
      src/vrend_shader.c

@ -1376,7 +1376,6 @@ iter_declaration(struct tgsi_iterate_context *iter,
case TGSI_SEMANTIC_CLIPVERTEX: case TGSI_SEMANTIC_CLIPVERTEX:
ctx->outputs[i].override_no_wm = true; ctx->outputs[i].override_no_wm = true;
ctx->outputs[i].invariant = false; ctx->outputs[i].invariant = false;
ctx->outputs[i].precise = false;
if (ctx->glsl_ver_required >= 140) { if (ctx->glsl_ver_required >= 140) {
ctx->has_clipvertex = true; ctx->has_clipvertex = true;
name_prefix = get_stage_output_name_prefix(iter->processor.Processor); name_prefix = get_stage_output_name_prefix(iter->processor.Processor);

Loading…
Cancel
Save