summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_program.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-01-07 17:26:58 +0100
committerChristoph Bumiller <[email protected]>2012-01-10 00:37:19 +0100
commitb85e93c0ca5ce881a59412b3ae617b5ac2c3aeb6 (patch)
treeb996d2b48c72ce3bf77d54b7a15413d0dece043a /src/gallium/drivers/nvc0/nvc0_program.h
parentf37c3a3335821c0d0e13238846b2726b3fdaba71 (diff)
nv50/ir,nvc0: make ClipDistance and ClipVertex work
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_program.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_program.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_program.h b/src/gallium/drivers/nvc0/nvc0_program.h
index 10eb9f724d5..c384ef534d5 100644
--- a/src/gallium/drivers/nvc0/nvc0_program.h
+++ b/src/gallium/drivers/nvc0/nvc0_program.h
@@ -36,9 +36,9 @@ struct nvc0_program {
struct {
uint32_t clip_mode; /* clip/cull selection */
- uint8_t clip_enable; /* only applies if num_ucps == 0 */
+ uint8_t clip_enable; /* mask of defined clip planes */
uint8_t edgeflag;
- uint8_t num_ucps;
+ uint8_t num_ucps; /* also set to max if ClipDistance is used */
} vp;
struct {
uint8_t early_z;