summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-07-21 09:51:11 -0600
committerBrian Paul <[email protected]>2010-07-21 10:16:32 -0600
commit85206e56a1c3400be47229d4a8c6a1cd7a2f476e (patch)
treed60dcdbb341febdd535d71e63a3d98bc4bbbbcda /src/gallium/auxiliary/tgsi/tgsi_scan.h
parent0115f07507fc661a0a19564c496a781c3dcbc7a0 (diff)
tgsi: added tgsi_shader_info::indirect_files field
Indicates which register files are accessed with indirect addressing.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index e75280336f0..f8aa90cf065 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -63,6 +63,12 @@ struct tgsi_shader_info
boolean writes_edgeflag; /**< vertex shader outputs edgeflag */
boolean uses_kill; /**< KIL or KILP instruction used? */
+ /**
+ * Bitmask indicating which register files are accessed with
+ * indirect addressing. The bits are (1 << TGSI_FILE_x), etc.
+ */
+ unsigned indirect_files;
+
struct {
unsigned name;
unsigned data[8];