vrend: cleanup vrend_draw_bind_samplers_shader()

Signed-off-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Ryan Neph 3 years ago
parent 405a50d5ad
commit a63526b5fb
  1. 4
      src/vrend_renderer.c

@ -4293,13 +4293,9 @@ static int vrend_draw_bind_samplers_shader(struct vrend_sub_context *sub_ctx,
int next_sampler_id) int next_sampler_id)
{ {
int index = 0; int index = 0;
int n_samplers = 0; int n_samplers = 0;
uint32_t dirty = sub_ctx->sampler_views_dirty[shader_type]; uint32_t dirty = sub_ctx->sampler_views_dirty[shader_type];
uint32_t mask = sub_ctx->prog->samplers_used_mask[shader_type]; uint32_t mask = sub_ctx->prog->samplers_used_mask[shader_type];
struct vrend_shader_view *sviews = &sub_ctx->views[shader_type]; struct vrend_shader_view *sviews = &sub_ctx->views[shader_type];
while (mask) { while (mask) {

Loading…
Cancel
Save