From b18fd234da275a0ec6b3c5cb77497a4c487c6366 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 16 Aug 2014 11:34:56 -0700 Subject: i965/fs: Use instruction execution sizes instead of heuristics Signed-off-by: Jason Ekstrand Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp') diff --git a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp index 5e8c98a36df..f0d941fc35b 100644 --- a/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp +++ b/src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp @@ -747,9 +747,7 @@ instruction_scheduler::add_barrier_deps(schedule_node *n) bool fs_instruction_scheduler::is_compressed(fs_inst *inst) { - return (v->dispatch_width == 16 && - !inst->force_uncompressed && - !inst->force_sechalf); + return inst->exec_size == 16; } void -- cgit v1.2.3