diff options
author | Brian <brian@i915.localnet.net> | 2008-02-27 15:47:24 -0700 |
---|---|---|
committer | Brian <brian@i915.localnet.net> | 2008-02-27 15:47:24 -0700 |
commit | 3197ad5a56ee94773f974ac727b316c5adfe1b6f (patch) | |
tree | d5865b46cfeeb350cdf94609596c7b5daf9b841b /src/gallium/auxiliary/tgsi/util/tgsi_scan.h | |
parent | 0e1e1f12f47d5b1d49f68930b05eadf1143e1396 (diff) |
gallium: added file_max[] array to tgsi_shader_info
Records the highest index of a declared register.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/util/tgsi_scan.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_scan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_scan.h b/src/gallium/auxiliary/tgsi/util/tgsi_scan.h index d10d300c4d..563ee900fa 100644 --- a/src/gallium/auxiliary/tgsi/util/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/util/tgsi_scan.h @@ -51,6 +51,7 @@ struct tgsi_shader_info uint file_mask[TGSI_FILE_COUNT]; /**< bitmask of declared registers */ uint file_count[TGSI_FILE_COUNT]; /**< number of declared registers */ + int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */ uint immediate_count; /**< number of immediates declared */ |