i965: Fix misnamed GEN7_WM_DEPTH_RESOLVE
authorChad Versace <chad.versace@linux.intel.com>
Thu, 22 Dec 2011 01:49:07 +0000 (17:49 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 10 Jan 2012 23:52:05 +0000 (15:52 -0800)
It was named GEN6_WM_DEPTH_RESOLVE. Luckily, this caused no conflict,
because the value is identical for gen6 and gen7.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_defines.h

index f7bb05a..4d90a99 100644 (file)
@@ -1345,7 +1345,7 @@ enum brw_wm_barycentric_interp_mode {
 # define GEN7_WM_STATISTICS_ENABLE                     (1 << 31)
 # define GEN7_WM_DEPTH_CLEAR                           (1 << 30)
 # define GEN7_WM_DISPATCH_ENABLE                       (1 << 29)
-# define GEN6_WM_DEPTH_RESOLVE                         (1 << 28)
+# define GEN7_WM_DEPTH_RESOLVE                         (1 << 28)
 # define GEN7_WM_HIERARCHICAL_DEPTH_RESOLVE            (1 << 27)
 # define GEN7_WM_KILL_ENABLE                           (1 << 25)
 # define GEN7_WM_PSCDEPTH_OFF                          (0 << 23)