i965: widen per-texture bitfields for 16 texture image units
authorBrian Paul <brianp@vmware.com>
Thu, 29 Jan 2009 00:01:03 +0000 (17:01 -0700)
committerAlan Hourihane <alanh@vmware.com>
Thu, 29 Jan 2009 00:59:54 +0000 (00:59 +0000)
(cherry picked from master/commit f78c388b6c156cb155f089b00612f00919090a8e)

src/mesa/drivers/dri/i965/brw_wm.h

index ded079695eeab55e1ede046b5c62b0d4f3e95564..f990bde839ab746f1e5be948d98247ebacd4b264 100644 (file)
@@ -60,16 +60,16 @@ struct brw_wm_prog_key {
    GLuint aa_dest_stencil_reg:3;
    GLuint dest_depth_reg:3;
    GLuint nr_depth_regs:3;
-   GLuint projtex_mask:8;
-   GLuint shadowtex_mask:8;
    GLuint computes_depth:1;    /* could be derived from program string */
    GLuint source_depth_to_render_target:1;
    GLuint flat_shade:1;
    GLuint runtime_check_aads_emit:1;
    
-   GLuint yuvtex_mask:8;
-   GLuint yuvtex_swap_mask:8;  /* UV swaped */
-   GLuint pad1:16;
+   GLuint projtex_mask:16;
+   GLuint shadowtex_mask:16;
+   GLuint yuvtex_mask:16;
+   GLuint yuvtex_swap_mask:16; /* UV swaped */
+   //   GLuint pad1:16;
 
    GLuint program_string_id:32;
    GLuint origin_x, origin_y;