aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-05-18 03:59:20 -0700
committerFrancisco Jerez <[email protected]>2016-05-27 23:22:10 -0700
commitc78edcea8b256743fb38c7cd519b3324e4716143 (patch)
tree018fcac920d9a84b2290349301641e44b4417777 /src/mesa/drivers/dri/i965/brw_fs_generator.cpp
parentc19c3d3a5285af2936025568a91020f566ae768c (diff)
i965/fs: No need to set compression control at the top of generate_code().
The right value is dependent on the specific IR instruction being generated so it has to be reset in every iteration of the loop anyway. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_generator.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_generator.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
index e4674d9d6e9..3ac27f224b5 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp
@@ -1541,8 +1541,6 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width)
brw_NOP(p);
this->dispatch_width = dispatch_width;
- if (dispatch_width == 16)
- brw_set_default_compression_control(p, BRW_COMPRESSION_COMPRESSED);
int start_offset = p->next_insn_offset;
int spill_count = 0, fill_count = 0;