mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
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 <jason@jlekstrand.net>
This commit is contained in:
parent
c19c3d3a52
commit
c78edcea8b
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue