diff options
author | Marek Olšák <[email protected]> | 2014-12-07 19:20:10 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-12-10 21:59:37 +0100 |
commit | 2b76bb3ba7c9358d1c0fc110199846c0d229776b (patch) | |
tree | e7a1c7ba462aa6feeb7f674c02cc2796acae9cf0 /src/gallium/auxiliary/tgsi/tgsi_scan.c | |
parent | 8115797801c10c5757c34294ef12018702c6bd91 (diff) |
tgsi: add tgsi_shader_info::writes_clipvertex
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.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 9d155c908f5..649c327d9c9 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -245,6 +245,9 @@ tgsi_scan_shader(const struct tgsi_token *tokens, else if (semName == TGSI_SEMANTIC_PSIZE) { info->writes_psize = TRUE; } + else if (semName == TGSI_SEMANTIC_CLIPVERTEX) { + info->writes_clipvertex = TRUE; + } } if (procType == TGSI_PROCESSOR_FRAGMENT) { |