From: Iago Toral Date: Tue, 15 Oct 2019 06:56:45 +0000 (+0000) Subject: v3d: drop unused shader_rec_count member from context X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e353656f3dd547c7af42e61bc052e75e20d57181;p=mesa.git v3d: drop unused shader_rec_count member from context Looks like this was copied from the vc4 driver where it is actually included in the submit CL ioctl. Reviewed-by: Eric Anholt --- diff --git a/src/gallium/drivers/v3d/v3d_context.h b/src/gallium/drivers/v3d/v3d_context.h index 9022ac351d4..42663e2344e 100644 --- a/src/gallium/drivers/v3d/v3d_context.h +++ b/src/gallium/drivers/v3d/v3d_context.h @@ -309,7 +309,6 @@ struct v3d_job { struct v3d_cl indirect; struct v3d_bo *tile_alloc; struct v3d_bo *tile_state; - uint32_t shader_rec_count; struct drm_v3d_submit_cl submit; diff --git a/src/gallium/drivers/v3d/v3dx_draw.c b/src/gallium/drivers/v3d/v3dx_draw.c index efc8d249dce..806aaf9bfa6 100644 --- a/src/gallium/drivers/v3d/v3dx_draw.c +++ b/src/gallium/drivers/v3d/v3dx_draw.c @@ -553,8 +553,6 @@ v3d_emit_gl_shader_state(struct v3d_context *v3d, v3d_bo_unreference(&cs_uniforms.bo); v3d_bo_unreference(&vs_uniforms.bo); v3d_bo_unreference(&fs_uniforms.bo); - - job->shader_rec_count++; } /**