summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_context.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_context.h
parentb4ecef4b1b1e3c3d7bc3a9d7811af497ace5506d (diff)
nvc0: add support for clip distance shader outputs
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h
index c739b1b68e2..c46e7430f85 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.h
+++ b/src/gallium/drivers/nvc0/nvc0_context.h
@@ -74,13 +74,15 @@ struct nvc0_context {
int32_t index_bias;
boolean prim_restart;
boolean early_z;
+ uint16_t scissor;
uint8_t num_vtxbufs;
uint8_t num_vtxelts;
uint8_t num_textures[5];
uint8_t num_samplers[5];
uint8_t tls_required; /* bitmask of shader types using l[] */
uint8_t c14_bound; /* whether immediate array constbuf is bound */
- uint16_t scissor;
+ uint8_t clip_enable;
+ uint32_t clip_mode;
uint32_t uniform_buffer_bound[5];
} state;