projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b1fc1
)
i965: Don't set stats_wm in the WM program key on Gen6+.
author
Kenneth Graunke
<kenneth@whitecape.org>
Sun, 26 Aug 2012 07:47:44 +0000
(
00:47
-0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 27 Aug 2012 21:23:40 +0000
(14:23 -0700)
It's only needed for Gen4/5 IZ lookup workarounds.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_wm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm.c
b/src/mesa/drivers/dri/i965/brw_wm.c
index 8b7d0693a3551e56343f24ffd4f07aeb026e5d12..9d9696180428f719ab5d75cb0f3317dbcb67c874 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm.c
@@
-587,7
+587,9
@@
static void brw_wm_populate_key( struct brw_context *brw,
}
key->line_aa = line_aa;
- key->stats_wm = brw->intel.stats_wm;
+
+ if (intel->gen < 6)
+ key->stats_wm = brw->intel.stats_wm;
/* BRW_NEW_WM_INPUT_DIMENSIONS */
key->proj_attrib_mask = brw->wm.input_size_masks[4-1];