diff options
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index 84d64568c4b..77fe6b37982 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -548,6 +548,9 @@ scan_declaration(struct tgsi_shader_info *info, info->num_outputs = MAX2(info->num_outputs, reg + 1); switch (semName) { + case TGSI_SEMANTIC_PRIMID: + info->writes_primid = true; + break; case TGSI_SEMANTIC_VIEWPORT_INDEX: info->writes_viewport_index = true; break; |