summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm.h
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2008-03-07 15:11:28 +0800
committerZou Nan hai <nanhai.zou@intel.com>2008-03-07 15:11:28 +0800
commit7676980d38cff417015bca8d23549d567d74228b (patch)
treedcc10e5d6a463a5162ff285e9e8c681ecc79dc2d /src/mesa/drivers/dri/i965/brw_wm.h
parent5982d397990fd2ae4c729977cf8d22da5ef29987 (diff)
[i965] fix fd.o bug #11471 and #11478
1. Follow EXT_texture_rectangle with YCbCr texture 2. swap UV component for MESA_FORMAT_YCBCR
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index 645286d470..441fbd33fb 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -69,7 +69,8 @@ struct brw_wm_prog_key {
GLuint runtime_check_aads_emit:1;
GLuint yuvtex_mask:8;
- GLuint pad1:24;
+ GLuint yuvtex_swap_mask:8; /* UV swaped */
+ GLuint pad1:16;
GLuint program_string_id:32;
GLuint origin_x, origin_y;