vrend: fix geometry shader dirty check.

This was cut-n-pasted incorrectly.

Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Dave Airlie 7 years ago
parent 465109d4be
commit eeedf7f4ee
  1. 2
      src/vrend_renderer.c

@ -2885,7 +2885,7 @@ void vrend_draw_vbo(struct vrend_context *ctx,
same_prog = false; same_prog = false;
if (ctx->sub->shaders[PIPE_SHADER_FRAGMENT]->current->id != ctx->sub->prog_ids[PIPE_SHADER_FRAGMENT]) if (ctx->sub->shaders[PIPE_SHADER_FRAGMENT]->current->id != ctx->sub->prog_ids[PIPE_SHADER_FRAGMENT])
same_prog = false; same_prog = false;
if (ctx->sub->shaders[PIPE_SHADER_GEOMETRY] && ctx->sub->shaders[PIPE_SHADER_FRAGMENT]->current->id != ctx->sub->prog_ids[PIPE_SHADER_FRAGMENT]) if (ctx->sub->shaders[PIPE_SHADER_GEOMETRY] && ctx->sub->shaders[PIPE_SHADER_GEOMETRY]->current->id != ctx->sub->prog_ids[PIPE_SHADER_GEOMETRY])
same_prog = false; same_prog = false;
if (!same_prog) { if (!same_prog) {

Loading…
Cancel
Save