summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600d_common.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-03-15 17:14:53 +0100
committerMarek Olšák <[email protected]>2015-03-16 12:54:18 +0100
commitf7796a966d20b04c00025bdc170883f4179a5697 (patch)
treefd2a6699fd29e43f21501e73d17b1e573b01fa17 /src/gallium/drivers/radeon/r600d_common.h
parent1921fa430452304e42059e36b654d9d446371526 (diff)
radeonsi: add basic code for overrasterization
This will be used for line and polygon smoothing. This is GCN-only even though it's in shared code. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600d_common.h')
-rw-r--r--src/gallium/drivers/radeon/r600d_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600d_common.h b/src/gallium/drivers/radeon/r600d_common.h
index ba29fd0c2d6..74c8d8782a6 100644
--- a/src/gallium/drivers/radeon/r600d_common.h
+++ b/src/gallium/drivers/radeon/r600d_common.h
@@ -177,6 +177,8 @@
#define S_028804_INTERPOLATE_SRC_Z(x) (((x) & 0x1) << 19)
#define S_028804_STATIC_ANCHOR_ASSOCIATIONS(x) (((x) & 0x1) << 20)
#define S_028804_ALPHA_TO_MASK_EQAA_DISABLE(x) (((x) & 0x1) << 21)
+#define S_028804_OVERRASTERIZATION_AMOUNT(x) (((x) & 0x7) << 24)
+#define S_028804_ENABLE_POSTZ_OVERRASTERIZATION(x) (((x) & 0x1) << 27)
#define CM_R_028BDC_PA_SC_LINE_CNTL 0x28bdc
#define S_028BDC_EXPAND_LINE_WIDTH(x) (((x) & 0x1) << 9)
#define G_028BDC_EXPAND_LINE_WIDTH(x) (((x) >> 9) & 0x1)