summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-10-30 14:24:27 +0100
committerMarek Olšák <[email protected]>2013-11-04 19:07:57 +0100
commitd0cf73a4086e2ef256f6a21c4e30030cc07fc5b6 (patch)
tree8533d4f7f85aefb8e456e7f0969f53c94d6d6713 /src/gallium/auxiliary/tgsi/tgsi_scan.h
parente5f0080d912d9231773a087c9f3e3a55136c467a (diff)
tgsi/scan: set maximum index for each constant buffer
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 d9147bd5bd9..9f45c36911f 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -59,6 +59,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 */
+ int const_file_max[PIPE_MAX_CONSTANT_BUFFERS];
uint immediate_count; /**< number of immediates declared */
uint num_instructions;