summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-29 14:53:53 -0600
committerBrian Paul <brianp@vmware.com>2009-10-29 15:33:43 -0600
commit9ef33b86855c4d000271774030bd1b19b6d79687 (patch)
tree8b94f2620f7797cf1f64804c8445ade56d8bca25 /src/mesa/drivers/dri/i965/brw_wm.h
parenta8d233e509a2c1aada7cd4e83b126ba06cb90565 (diff)
i965: don't use context state in emit_fb_write()
Put the state that we care about in the hash key. Issue spotted by Keith Whitwell.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index f13a958a44..d0f30607d0 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -67,6 +67,7 @@ struct brw_wm_prog_key {
GLuint flat_shade:1;
GLuint linear_color:1; /**< linear interpolation vs perspective interp */
GLuint runtime_check_aads_emit:1;
+ GLuint nr_color_regions:2;
GLbitfield proj_attrib_mask; /**< one bit per fragment program attribute */
GLuint shadowtex_mask:16;