i965/fs: Pass the compression mode to brw_reg_from_fs_reg().
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 19 May 2016 02:02:45 +0000 (19:02 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:22:10 +0000 (23:22 -0700)
commitdabaf4fb9664a431014387cece356d5b64caf9b6
tree03f31fe07638180a9ba209479952a89bcd65f348
parent3340a66fce9adad943fd3448fb703c27cebe7139
i965/fs: Pass the compression mode to brw_reg_from_fs_reg().

Curro is planning to eliminate p->compressed, so let's avoid using it
here and just pass in the value directly.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
[ Francisco Jerez: Pass boolean flag instead of brw_compression enum. ]
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp