Module: Mesa Branch: master Commit: d14f3e14b43fd02ad46f697af53d21c40833452c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d14f3e14b43fd02ad46f697af53d21c40833452c
Author: Anuj Phogat <[email protected]> Date: Wed May 6 15:11:42 2015 -0700 i965: Remove unused variables Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Jordan Justen <[email protected]> --- src/mesa/drivers/dri/i965/brw_cs.cpp | 2 -- 1 file changed, 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)); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
