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:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user