diff options
author | Marek Olšák <[email protected]> | 2015-05-18 14:50:19 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-05-26 12:42:36 +0200 |
commit | af4b9c7c2e119d373f9684119b833a8b62cbb756 (patch) | |
tree | 9e2b12464e5ade32613dc29bafbc5add4451cdfc /src/gallium/drivers | |
parent | e4339bc9886a26d75b924ad045c3ddd003f802c3 (diff) |
radeonsi: don't count special outputs for the VS export count
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 5974e77e374..25811ab413d 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -182,8 +182,13 @@ static void si_shader_vs(struct si_shader *shader) for (nparams = 0, i = 0 ; i < info->num_outputs; i++) { switch (info->output_semantic_name[i]) { case TGSI_SEMANTIC_CLIPVERTEX: + case TGSI_SEMANTIC_CLIPDIST: + case TGSI_SEMANTIC_CULLDIST: case TGSI_SEMANTIC_POSITION: case TGSI_SEMANTIC_PSIZE: + case TGSI_SEMANTIC_EDGEFLAG: + case TGSI_SEMANTIC_VIEWPORT_INDEX: + case TGSI_SEMANTIC_LAYER: break; default: nparams++; |