summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-12-07 18:49:31 +0100
committerMarek Olšák <[email protected]>2014-12-10 21:59:36 +0100
commit946eb08e6a95510596471168285a20bbe1554bb3 (patch)
treeca4964ca5395ebed3eefbfbce06cfe831f541409 /src/gallium/auxiliary/tgsi/tgsi_scan.c
parent0a60ebe30c186daf1fbe569e07bfe2e75f765824 (diff)
tgsi: add tgsi_shader_info::writes_psize
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.c3
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 a23bb4067aa..b6c88af3a9e 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c
@@ -238,6 +238,9 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
else if (semName == TGSI_SEMANTIC_LAYER) {
info->writes_layer = TRUE;
}
+ else if (semName == TGSI_SEMANTIC_PSIZE) {
+ info->writes_psize = TRUE;
+ }
}
if (procType == TGSI_PROCESSOR_FRAGMENT) {