i965: Remove unused variables
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 6 May 2015 22:11:42 +0000 (15:11 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 7 May 2015 18:43:01 +0000 (11:43 -0700)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_cs.cpp

index e2f3d6310dde789b520a5ecd39151be53d92a0c0..70731e4a4fffd66a30ccc626edc328ab7904caf9 100644 (file)
@@ -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));