i965: remove unused variable since brw_wm_glsl.c removal.
authorEric Anholt <eric@anholt.net>
Thu, 9 Dec 2010 19:10:31 +0000 (11:10 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 9 Dec 2010 19:11:04 +0000 (11:11 -0800)
src/mesa/drivers/dri/i965/brw_structs.h
src/mesa/drivers/dri/i965/brw_wm_state.c

index d341187c1b9d9eb8c71700a1d70be04b65226ca3..461f27048cc1b7e39a9d0d6fbef73b2b04ca15da 100644 (file)
@@ -1178,7 +1178,7 @@ struct brw_surface_state
       GLuint cube_neg_y:1; 
       GLuint cube_pos_x:1; 
       GLuint cube_neg_x:1; 
-      GLuint pad:4;
+      GLuint pad:2;
       /* Required on gen6 for surfaces accessed through render cache messages.
        */
       GLuint render_cache_read_write:1;
index 82835470a3e060c8fc73b06cd26e024507f6e7dd..e9ef635bca2d2489da2bad8d009edfe8df0054b3 100644 (file)
@@ -87,7 +87,6 @@ wm_unit_populate_key(struct brw_context *brw, struct brw_wm_unit_key *key)
 {
    struct gl_context *ctx = &brw->intel.ctx;
    const struct gl_fragment_program *fp = brw->fragment_program;
-   const struct brw_fragment_program *bfp = (struct brw_fragment_program *) fp;
    struct intel_context *intel = &brw->intel;
 
    memset(key, 0, sizeof(*key));