i965: Fix Line Stipple enable bit in 3DSTATE_SF for Haswell.
authorPavel Popov <pavel.e.popov@intel.com>
Fri, 30 May 2014 03:50:34 +0000 (10:50 +0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 30 May 2014 19:20:18 +0000 (12:20 -0700)
Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Pavel Popov <pavel.e.popov@intel.com>
src/mesa/drivers/dri/i965/brw_defines.h

index c38e4478b0cec2e13b45db83e1c4798a461920ca..ed8efcada944f9829e214627b028efc04d8ab1ff 100644 (file)
@@ -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)