From 85206e56a1c3400be47229d4a8c6a1cd7a2f476e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 21 Jul 2010 09:51:11 -0600 Subject: tgsi: added tgsi_shader_info::indirect_files field Indicates which register files are accessed with indirect addressing. --- src/gallium/auxiliary/tgsi/tgsi_scan.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h') diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index e75280336f..f8aa90cf06 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]; -- cgit v1.2.3