i965/fs: Rework compression control selection.
authorMatt Turner <mattst88@gmail.com>
Thu, 14 May 2015 22:58:20 +0000 (15:58 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 18 May 2015 17:11:36 +0000 (10:11 -0700)
commit0a9e3a0160bbda8ea23aeb049f9c3dfc0478bbf5
tree1f5d8b77ac9e6a9eb81ea7e4c5a2e0e50e32e252
parent4ec09c77471e39e6ff81c99f1edde2e1713a7f24
i965/fs: Rework compression control selection.

The next commit uses an add(16) with a UW destination with a stride of
2, which needs compression control since it's writing two registers. The
old code would have failed to set compression control correctly.

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