From 391e33ffbf01180d66d4c4e9a6c91fc17f9feaca Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 6 Nov 2011 12:49:21 +0000 Subject: r600g: add initial linestipple support. It seems line loop stipple in hardware needs something I don't know, it might need a proper geometry shader who knows. Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/r600d.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/drivers/r600/r600d.h') diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h index 441c9816762..079cd72c041 100644 --- a/src/gallium/drivers/r600/r600d.h +++ b/src/gallium/drivers/r600/r600d.h @@ -779,6 +779,11 @@ #define S_028A00_WIDTH(x) (((x) & 0xFFFF) << 16) #define G_028A00_WIDTH(x) (((x) >> 16) & 0xFFFF) #define C_028A00_WIDTH 0x0000FFFF +#define R_028A0C_PA_SC_LINE_STIPPLE 0x028A0C +#define S_028A0C_LINE_PATTERN(x) (((x) & 0xFFFF) << 0) +#define S_028A0C_REPEAT_COUNT(x) (((x) & 0xFF) << 16) +#define S_028A0C_PATTERN_BIT_ORDER(x) (((x) & 0x1) << 28) +#define S_028A0C_AUTO_RESET_CNTL(x) (((x) & 0x3) << 29) #define R_028A40_VGT_GS_MODE 0x028A40 #define S_028A40_MODE(x) (((x) & 0x3) << 0) #define G_028A40_MODE(x) (((x) >> 0) & 0x3) -- cgit v1.2.3