i965/eu: Fix a bunch of compression control bugs in the generator.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 May 2016 22:29:27 +0000 (15:29 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:22:10 +0000 (23:22 -0700)
commitc19c3d3a5285af2936025568a91020f566ae768c
treefe8f9b6cf9afdb6aec88e6dd157315fd898c9dc1
parent3dffd8158327ab55b23fe4f3ce0dae4ceda0af4a
i965/eu: Fix a bunch of compression control bugs in the generator.

Most of these were resetting quarter control to zero incorrectly even
though everything they needed to do was disable instruction
compression -- The brw_SAMPLE() case was doing the right thing but it
can be simplified slightly by using the new compression control
interface.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs_generator.cpp