diff options
author | Christoph Bumiller <[email protected]> | 2011-12-09 18:46:09 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-12-15 18:51:48 +0100 |
commit | 14bd9d764802b5fedb652c791faafe4d13b65262 (patch) | |
tree | 4dba8e6abb0d7d6914fa7f265b5f81127c86c262 /src/gallium/drivers/nvc0/nvc0_program.h | |
parent | 14193da589275969be31dbdb3280bb48cd24d0c0 (diff) |
nvc0: implement new stream output interface
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_program.h')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_program.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_program.h b/src/gallium/drivers/nvc0/nvc0_program.h index b107850ea92..10eb9f724d5 100644 --- a/src/gallium/drivers/nvc0/nvc0_program.h +++ b/src/gallium/drivers/nvc0/nvc0_program.h @@ -6,6 +6,14 @@ #define NVC0_CAP_MAX_PROGRAM_TEMPS 128 + +struct nvc0_transform_feedback_state { + uint32_t stride[4]; + uint8_t varying_count[4]; + uint8_t varying_index[0]; +}; + + #define NVC0_SHADER_HEADER_SIZE (20 * 4) struct nvc0_program { @@ -31,7 +39,6 @@ struct nvc0_program { 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]; } vp; struct { uint8_t early_z; @@ -44,6 +51,8 @@ struct nvc0_program { void *relocs; + struct nvc0_transform_feedback_state *tfb; + struct nouveau_resource *res; }; |