vrend: Fix changing shader without marking the compute shader as dirty

Signed-off-by: chenjiangnan <chen.jiangnan@zlingsmart.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
chenjiangnan 4 years ago
parent e8045c1edb
commit 8c0906564e
  1. 1
      src/vrend_renderer.c

@ -4600,6 +4600,7 @@ vrend_select_program(struct vrend_sub_context *sub_ctx, const struct pipe_draw_i
prog->ref_context = sub_ctx;
}
sub_ctx->cs_shader_dirty = true;
return new_program;
}

Loading…
Cancel
Save