summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_program.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-10-18 12:07:01 +0200
committerChristoph Bumiller <[email protected]>2011-10-21 23:00:40 +0200
commit73ea0e7fd405af2866062492231c84580a306211 (patch)
tree0007e4feb12a744ff6e0836b5853a06096bdad1c /src/gallium/drivers/nvc0/nvc0_program.h
parentb4ecef4b1b1e3c3d7bc3a9d7811af497ace5506d (diff)
nvc0: add support for clip distance shader outputs
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_program.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_program.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_program.h b/src/gallium/drivers/nvc0/nvc0_program.h
index 239890bd89a..b107850ea92 100644
--- a/src/gallium/drivers/nvc0/nvc0_program.h
+++ b/src/gallium/drivers/nvc0/nvc0_program.h
@@ -27,6 +27,8 @@ struct nvc0_program {
uint32_t flags[2];
struct {
+ uint32_t clip_mode; /* clip/cull selection */
+ uint8_t clip_enable; /* only applies if num_ucps == 0 */
uint8_t edgeflag;
uint8_t num_ucps;
uint8_t out_pos[PIPE_MAX_SHADER_OUTPUTS];