summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_reg.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-11-04 15:02:55 +1100
committerOliver McFadden <z3ro.geek@gmail.com>2007-11-05 22:17:34 +0000
commit35d28ce12e59526cb66e82d7d5469e50196a8ccd (patch)
treec238f165de5421719956a19f0127f2561009bd54 /src/mesa/drivers/dri/r300/r300_reg.h
parent8e66c3d7552bf33163bb8ac2a6d3963bad1b0eb4 (diff)
r300: initial user clipping for TCL paths
I've no idea if this code might break something or how it should interact with vertex shaders, it makes the clip demo work for me
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_reg.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h
index 2679c8f100..2e998bc5fe 100644
--- a/src/mesa/drivers/dri/r300/r300_reg.h
+++ b/src/mesa/drivers/dri/r300/r300_reg.h
@@ -293,6 +293,13 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
# define R300_PVS_UPLOAD_CLIP_PLANE5 0x00000405
# define R300_PVS_UPLOAD_POINTSIZE 0x00000406
+# define R500_PVS_UPLOAD_CLIP_PLANE0 0x00000600
+# define R500_PVS_UPLOAD_CLIP_PLANE1 0x00000601
+# define R500_PVS_UPLOAD_CLIP_PLANE2 0x00000602
+# define R500_PVS_UPLOAD_CLIP_PLANE3 0x00000603
+# define R500_PVS_UPLOAD_CLIP_PLANE4 0x00000604
+# define R500_PVS_UPLOAD_CLIP_PLANE5 0x00000605
+
/*
* These are obsolete defines form r300_context.h, but they might give some
* clues when investigating the addresses further...
@@ -323,6 +330,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define R300_VAP_UNKNOWN_221C 0x221C
# define R300_221C_NORMAL 0x00000000
# define R300_221C_CLEAR 0x0001C000
+#define R300_VAP_UCP_ENABLE_0 (1 << 0)
/* These seem to be per-pixel and per-vertex X and Y clipping planes. The first
* plane is per-pixel and the second plane is per-vertex.