tgsi/scan: set maximum index for each constant buffer
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_scan.h
index d9147bd5bd9af2f39307a680cd3422053ad6c626..9f45c36911fb0491f879c1c5f998e91bb7994fca 100644 (file)
@@ -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;