i965/fs: add support for ir_*_interpolate_at_* expressions
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 17 Nov 2013 07:00:00 +0000 (20:00 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 12 Jul 2014 22:01:24 +0000 (10:01 +1200)
commit9c0bddf73525677acaf2b136cf54375a6ac2c2b9
tree9beded29291c31a169e28fc4814fd17f6d9db8ab
parent5ed147c26f800ffb11fb80b92aec9a772982aff6
i965/fs: add support for ir_*_interpolate_at_* expressions

SIMD8-only for now.

V5: - Fix style complaints
    - Move prototype to be with other oddball emit functions
    - Use unreachable() instead of assert() where possible

V6: - Describe what is happening with the clamping
    - Add reg_width to make some expressions clearer

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp