summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-01-06 12:21:54 +0000
committerDave Airlie <[email protected]>2012-01-11 08:08:12 +0000
commitf7e3e46f72fffe4b83cd3f922173ff28e9ab9c7c (patch)
treebcf2ef2a68fb66ec2a2cf52f001fbf9997c65578 /src/gallium/auxiliary/tgsi/tgsi_scan.h
parent40c5987ed84f9f0b8bb1f707bb13c1aafc39330a (diff)
tgsi_scan: add support to count number of output clip distances
Just add support to the scanner to count the number of clip distances. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index 482c106ae79..235e6a3fae0 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -75,6 +75,7 @@ struct tgsi_shader_info
boolean pixel_center_integer;
boolean color0_writes_all_cbufs;
+ unsigned num_written_clipdistance;
/**
* Bitmask indicating which register files are accessed with
* indirect addressing. The bits are (1 << TGSI_FILE_x), etc.