aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-11-20 13:50:52 -0800
committerKenneth Graunke <[email protected]>2012-11-26 19:52:33 -0800
commita303df86de96a428f82377a8c38db8b7e3223447 (patch)
tree4264e019252a9dc99dae0ae7e70d07915aae1ced /src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp
parent47a6a7b51b774091f46aed264b3591fd36c8baed (diff)
i965/fs: Move brw_wm_compile::dispatch_width into fs_visitor.
Also, rather than having brw_wm_fs_emit poke at it directly, make it a parameter to the fs_visitor constructor. All other changes generated by search and replace (with occasional whitespace fixup). v2: Make dispatch_width const (as suggested by Paul); fix doxygen mistake (pointed out by Eric); update for rebase. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp b/src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp
index 11e985880f5..6b7c412f8e7 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp
@@ -239,7 +239,7 @@ instruction_scheduler::add_barrier_deps(schedule_node *n)
bool
instruction_scheduler::is_compressed(fs_inst *inst)
{
- return (v->c->dispatch_width == 16 &&
+ return (v->dispatch_width == 16 &&
!inst->force_uncompressed &&
!inst->force_sechalf);
}