aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/compiler/radeon_code.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2009-12-24 13:31:27 +0100
committerCorbin Simpson <[email protected]>2010-01-06 12:49:15 -0800
commitdc7f309f9c4562e367bb18a2eb3d1dcf67003cad (patch)
tree40061fedbce1ccb2dc4b18f876370d0c33f7adf3 /src/mesa/drivers/dri/r300/compiler/radeon_code.h
parentddfc4e31ada05148ed1eb56f89efe1decadbbde3 (diff)
r300/compiler: add full viewport transformation support in WPOS codegen
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_code.h')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_code.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_code.h b/src/mesa/drivers/dri/r300/compiler/radeon_code.h
index 902b7cfa53b..6d979bbaecf 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_code.h
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_code.h
@@ -59,7 +59,9 @@ enum {
RC_STATE_SHADOW_AMBIENT = 0,
RC_STATE_R300_WINDOW_DIMENSION,
- RC_STATE_R300_TEXRECT_FACTOR
+ RC_STATE_R300_TEXRECT_FACTOR,
+ RC_STATE_R300_VIEWPORT_SCALE,
+ RC_STATE_R300_VIEWPORT_OFFSET
};
struct rc_constant {