}
/* check for indirect register reads */
- if (src->Register.Indirect) {
+ if (src->Register.Indirect)
info->indirect_files |= (1 << src->Register.File);
- /* record indirect constant buffer indexing */
- if (src->Register.File == TGSI_FILE_CONSTANT) {
- if (src->Register.Dimension) {
- if (src->Dimension.Indirect)
- info->const_buffers_indirect = info->const_buffers_declared;
- else
- info->const_buffers_indirect |= 1u << src->Dimension.Index;
- } else {
- info->const_buffers_indirect |= 1;
- }
- }
- }
-
if (src->Register.Dimension && src->Dimension.Indirect)
info->dim_indirect_files |= 1u << src->Register.File;
* indirect addressing. The bits are (1 << TGSI_FILE_x).
*/
unsigned dim_indirect_files; /**< shader resource indexing */
- unsigned const_buffers_indirect; /**< const buffers using indirect addressing */
unsigned properties[TGSI_PROPERTY_COUNT]; /* index with TGSI_PROPERTY_ */