i965/fs: Set compression only if writing two registers.
authorMatt Turner <mattst88@gmail.com>
Sat, 11 Apr 2015 21:51:13 +0000 (14:51 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 21 Apr 2015 16:24:48 +0000 (09:24 -0700)
commit8bc49f9536058a8373d3057324e22fcbf79a7d89
tree4cf99c30d6e54f82a74ac1731314cdb1f6af8fd0
parentb5a5b63548e9b27a3d0b8ad1b399006c71dcc3c4
i965/fs: Set compression only if writing two registers.

We don't want to set compression control on a SIMD16 instruction
operating on words or smaller.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp