From: Pavel Popov Date: Fri, 30 May 2014 03:50:34 +0000 (+0700) Subject: i965: Fix Line Stipple enable bit in 3DSTATE_SF for Haswell. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d292d40207359cc70c004182484aaa939fd29e59;p=mesa.git i965: Fix Line Stipple enable bit in 3DSTATE_SF for Haswell. Cc: "10.1 10.2" Reviewed-by: Matt Turner Signed-off-by: Pavel Popov --- diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index c38e4478b0c..ed8efcada94 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -1694,7 +1694,7 @@ enum brw_message_target { /* GEN7/DW1: */ # define GEN7_SF_DEPTH_BUFFER_SURFACE_FORMAT_SHIFT 12 /* GEN7/DW2: */ -# define HSW_SF_LINE_STIPPLE_ENABLE 14 +# define HSW_SF_LINE_STIPPLE_ENABLE (1 << 14) # define GEN8_SF_SMOOTH_POINT_ENABLE (1 << 13)