tgsi: add tgsi_shader_info::writes_clipvertex

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Marek Olšák
2014-12-07 19:20:10 +01:00
parent 8115797801
commit 2b76bb3ba7
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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) {
+1
View File
@@ -77,6 +77,7 @@ struct tgsi_shader_info
boolean uses_primid;
boolean uses_frontface;
boolean writes_psize;
boolean writes_clipvertex;
boolean writes_viewport_index;
boolean writes_layer;
boolean is_msaa_sampler[PIPE_MAX_SAMPLERS];