aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-09-15 18:11:11 +0100
committerKenneth Graunke <[email protected]>2017-09-15 12:09:13 -0700
commit915dc6db45587a0e119c91766ebac65f6ad9d4fe (patch)
tree06118cc31d44bc8d134f88a2ccb2cbba66f186be /src/mesa/drivers
parent7bd5931cc1e1102e0171ca70bd2d6bbad81f71dc (diff)
i965: drop unused variables
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_gs.c1
-rw-r--r--src/mesa/drivers/dri/i965/intel_batchbuffer.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c
index 5a170de8459..179ccc4c6fb 100644
--- a/src/mesa/drivers/dri/i965/brw_gs.c
+++ b/src/mesa/drivers/dri/i965/brw_gs.c
@@ -198,7 +198,6 @@ brw_gs_populate_key(struct brw_context *brw,
void
brw_upload_gs_prog(struct brw_context *brw)
{
- const struct gen_device_info *devinfo = &brw->screen->devinfo;
struct brw_stage_state *stage_state = &brw->gs.base;
struct brw_gs_prog_key key;
/* BRW_NEW_GEOMETRY_PROGRAM */
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
index b6ce8174d57..da4a4d5f250 100644
--- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
@@ -174,7 +174,6 @@ intel_batchbuffer_reset(struct intel_batchbuffer *batch,
struct intel_screen *screen)
{
struct brw_bufmgr *bufmgr = screen->bufmgr;
- const struct gen_device_info *devinfo = &screen->devinfo;
if (batch->last_bo != NULL) {
brw_bo_unreference(batch->last_bo);