i965/fs: Support fine/coarse derivative opcodes
authorChris Forbes <chrisf@ijw.co.nz>
Thu, 14 Aug 2014 08:59:15 +0000 (20:59 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Fri, 15 Aug 2014 06:04:04 +0000 (18:04 +1200)
commita39622452069b76f7562472cc15ddefd2db4b503
tree0d681685daa40add9fd0eecd4d4e9a64585b4f80
parent587e6e78984cd7490ac68b83d0b751bf23256595
i965/fs: Support fine/coarse derivative opcodes

The quality level (fine/coarse/dont-care) is plumbed through to the
generator as a constant in src1.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_channel_expressions.cpp
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp