mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 00:00:12 +01:00
radeonsi: don't count special outputs for the VS export count
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
e4339bc988
commit
af4b9c7c2e
1 changed files with 5 additions and 0 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue