i965/fs: add support for gl_SampleMaskIn[]
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 8 Dec 2013 07:29:43 +0000 (20:29 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 14 Dec 2013 03:28:11 +0000 (16:28 +1300)
commit544869377d6ec8c150d4d91d17a01f22cd84d479
treea33592f7f5a1d9d832efd3acf0bc204f167757c7
parent1d71f38924ac4614199cbdac76b9ec57cb4c3b68
i965/fs: add support for gl_SampleMaskIn[]

v2: - add assert so we don't run into trouble on Gen6.
    - adjust for Tapani's rearrangement of ir_variable

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