i965/fs: Add instruction emit for varying-index reads of uniforms.
authorEric Anholt <eric@anholt.net>
Wed, 7 Nov 2012 19:18:34 +0000 (11:18 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 5 Dec 2012 00:27:53 +0000 (16:27 -0800)
commitd8214e4384aaf0ee412ad9aea80f9fec522c1e4a
treec297544b6188cef26163815bd9409820d82ff0b7
parent29340d02dc38a9cc352d44412871dc9d4e3f878a
i965/fs: Add instruction emit for varying-index reads of uniforms.

The gen7 send-from-GRF path is sufficiently different from the perspective of
IR generation and optimization that I just made it a separate opcode.

v2: fix whitespace, rebase on Ken's recent refactor.
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_emit.cpp