i965: Remove dead shadowtex_mask entry in the WM key.
authorEric Anholt <eric@anholt.net>
Thu, 19 May 2011 16:54:07 +0000 (09:54 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 May 2011 17:07:38 +0000 (10:07 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h

index 61b2262cfa62d5e193052abfd14a82ec93ce39c6..578890872f07d329dfde940e099e9de46ae24122 100644 (file)
@@ -423,9 +423,6 @@ static void brw_wm_populate_key( struct brw_context *brw,
       }
    }
 
-   /* Shadow */
-   key->shadowtex_mask = fp->program.Base.ShadowSamplers;
-
    /* _NEW_BUFFERS */
    /*
     * Include the draw buffer origin and height so that we can calculate
index e5f7a79a19701c05f924a944a2f69f919c3eefe5..ccadb72db1c3ddb45fbecf88bc65c0333d8c060f 100644 (file)
@@ -67,7 +67,6 @@ struct brw_wm_prog_key {
    GLuint clamp_fragment_color:1;
 
    GLbitfield proj_attrib_mask; /**< one bit per fragment program attribute */
-   GLuint shadowtex_mask:16;
    GLuint yuvtex_mask:16;
    GLuint yuvtex_swap_mask:16; /* UV swaped */
    uint16_t gl_clamp_mask[3];