Mesa (master): v3d: drop unused shader_rec_count member from context
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 15 06:56:50 UTC 2019
Module: Mesa
Branch: master
Commit: e353656f3dd547c7af42e61bc052e75e20d57181
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e353656f3dd547c7af42e61bc052e75e20d57181
Author: Iago Toral <itoral at igalia.com>
Date: Tue Oct 15 06:56:45 2019 +0000
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 <eric at anholt.net>
---
src/gallium/drivers/v3d/v3d_context.h | 1 -
src/gallium/drivers/v3d/v3dx_draw.c | 2 --
2 files changed, 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++;
}
/**
More information about the mesa-commit
mailing list