i965/fs: Migrate FS gl_SamplePosition/ID computation code to the IR builder.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 3 Jun 2015 18:56:20 +0000 (21:56 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 9 Jun 2015 12:18:33 +0000 (15:18 +0300)
commit46f264638ad97a0b806e6fad7117d62a2cf914b6
tree21469eced656e0098c8abefb1181550646faba65
parent31477226ec6cbe956a4bbdcae81cc7ca5ad28cc6
i965/fs: Migrate FS gl_SamplePosition/ID computation code to the IR builder.

v2: Use fs_builder::AND/SHR/MOV instead of ::emit.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp