diff options
author | Jason Ekstrand <[email protected]> | 2014-08-16 11:34:56 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-09-30 10:29:15 -0700 |
commit | b18fd234da275a0ec6b3c5cb77497a4c487c6366 (patch) | |
tree | 91f5cc218b102413b57faef5b51116bf8a50a0d8 /src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | |
parent | 894ec5a1d819ed896395117303b1ff25be59ba75 (diff) |
i965/fs: Use instruction execution sizes instead of heuristics
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 |