assign(hw_reg_mapping, &inst->src[2]);
}
- if (prog_data->total_grf > BRW_MAX_GRF) {
+ if (prog_data->total_grf > max_grf) {
fail("Ran out of regs on trivial allocator (%d/%d)\n",
- prog_data->total_grf, BRW_MAX_GRF);
+ prog_data->total_grf, max_grf);
}
}
{
int hw_reg_mapping[virtual_grf_count];
int first_assigned_grf = this->first_non_payload_grf;
- int base_reg_count = BRW_MAX_GRF - first_assigned_grf;
+ int base_reg_count = max_grf - first_assigned_grf;
int class_sizes[base_reg_count];
int class_count = 0;