Mesa (gallium-mesa-7.4): i965: widen per-texture bitfields for 16 texture image units
Alan Hourihane
alanh at kemper.freedesktop.org
Fri Jan 30 21:12:49 UTC 2009
Module: Mesa
Branch: gallium-mesa-7.4
Commit: 51625ff86ea2032f4ea36a58753afe44dd75e012
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=51625ff86ea2032f4ea36a58753afe44dd75e012
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jan 28 17:01:03 2009 -0700
i965: widen per-texture bitfields for 16 texture image units
(cherry picked from master/commit f78c388b6c156cb155f089b00612f00919090a8e)
---
src/mesa/drivers/dri/i965/brw_wm.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index ded0796..f990bde 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -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;
More information about the mesa-commit
mailing list