summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorIago Toral <[email protected]>2019-10-15 06:56:45 +0000
committerIago Toral <[email protected]>2019-10-15 06:56:45 +0000
commite353656f3dd547c7af42e61bc052e75e20d57181 (patch)
treee2286e981f5806f560ccdd704bdb7e7a83983812 /src/gallium/drivers
parent278c9b5cc74ab23b4a76951f0ceb47a1c277b00e (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/v3d/v3d_context.h1
-rw-r--r--src/gallium/drivers/v3d/v3dx_draw.c2
2 files changed, 0 insertions, 3 deletions
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++;
}
/**