summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-12-07 19:08:28 +0100
committerMarek Olšák <[email protected]>2014-12-10 21:59:36 +0100
commit8115797801c10c5757c34294ef12018702c6bd91 (patch)
tree5a62e05c4a153eb6f35cd0bafc3dc79e5b29d361 /src/gallium/auxiliary/tgsi/tgsi_scan.h
parent946eb08e6a95510596471168285a20bbe1554bb3 (diff)
tgsi: add clip and cull distance writemasks into tgsi_shader_info
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index b50b650c801..56079977bf1 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -81,6 +81,8 @@ struct tgsi_shader_info
boolean writes_layer;
boolean is_msaa_sampler[PIPE_MAX_SAMPLERS];
+ unsigned clipdist_writemask;
+ unsigned culldist_writemask;
unsigned num_written_culldistance;
unsigned num_written_clipdistance;
/**