v3d: drop unused shader_rec_count member from context
authorIago Toral <itoral@igalia.com>
Tue, 15 Oct 2019 06:56:45 +0000 (06:56 +0000)
committerIago Toral <itoral@igalia.com>
Tue, 15 Oct 2019 06:56:45 +0000 (06:56 +0000)
Looks like this was copied from the vc4 driver where it is actually
included in the submit CL ioctl.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/v3d/v3d_context.h
src/gallium/drivers/v3d/v3dx_draw.c

index 9022ac351d4aa19cff90103dd8837d4016636cd7..42663e2344e781ff20401807e49f063b2f46d4cb 100644 (file)
@@ -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;
 
index efc8d249dce35aa904a958fc2b41f0b4d0a2f13e..806aaf9bfa6f3b949fb4b160ab7744bdf277426e 100644 (file)
@@ -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++;
 }
 
 /**