summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnuj Phogat <anuj.phogat@gmail.com>2015-05-06 15:11:42 -0700
committerAnuj Phogat <anuj.phogat@gmail.com>2015-05-07 11:43:01 -0700
commitd14f3e14b43fd02ad46f697af53d21c40833452c (patch)
treed0c32089ecda5b64d2ccec0b8e5a822fd0ae6592 /src
parent15259d63e808a08d755d2b44efaa62d5a8ca7655 (diff)
downloadexternal_mesa3d-d14f3e14b43fd02ad46f697af53d21c40833452c.zip
external_mesa3d-d14f3e14b43fd02ad46f697af53d21c40833452c.tar.gz
external_mesa3d-d14f3e14b43fd02ad46f697af53d21c40833452c.tar.bz2
i965: Remove unused variables
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_cs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cs.cpp b/src/mesa/drivers/dri/i965/brw_cs.cpp
index e2f3d63..70731e4 100644
--- a/src/mesa/drivers/dri/i965/brw_cs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_cs.cpp
@@ -212,11 +212,9 @@ brw_codegen_cs_prog(struct brw_context *brw,
static void
brw_cs_populate_key(struct brw_context *brw, struct brw_cs_prog_key *key)
{
- struct gl_context *ctx = &brw->ctx;
/* BRW_NEW_COMPUTE_PROGRAM */
const struct brw_compute_program *cp =
(struct brw_compute_program *) brw->compute_program;
- const struct gl_program *prog = (struct gl_program *) cp;
memset(key, 0, sizeof(*key));