... on Gen6+. I'm not actually sure which class Gen6 fits into.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
void
instruction_scheduler::schedule_instructions(backend_instruction *next_block_header)
{
+ struct brw_context *brw = bv->brw;
time = 0;
/* Remove non-DAG heads from the list. */
* the next math instruction isn't going to make progress until the first
* is done.
*/
- if (chosen->inst->is_math()) {
+ if (brw->gen < 6 && chosen->inst->is_math()) {
foreach_in_list(schedule_node, n, &instructions) {
if (n->inst->is_math())
n->unblocked_time = MAX2(n->unblocked_time,