OSDN Git Service

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 9022ac3..42663e2 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 efc8d24..806aaf9 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++;
 }
 
 /**