From b755f5894ce211dcb8ec881ba9cd9856383c3c79 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 21 Dec 2011 17:49:07 -0800 Subject: [PATCH] i965: Fix misnamed GEN7_WM_DEPTH_RESOLVE 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 Reviewed-by: Kenneth Graunke Signed-off-by: Chad Versace --- src/mesa/drivers/dri/i965/brw_defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index f7bb05ad317..4d90a99442a 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -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) -- 2.30.2