i965/vs: Add a surface index to VS_OPCODE_PULL_CONSTANT instructions.
authorEric Anholt <eric@anholt.net>
Mon, 25 Jun 2012 21:36:28 +0000 (14:36 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 20:54:51 +0000 (13:54 -0700)
commitbb020d09c382285210a5aebe412ddabfad19e4a0
tree4ed4fc198afc106577f637a64d7dd3c84b32de65
parent454dc83f66643e66ea7ee9117368211f0cfe84d7
i965/vs: Add a surface index to VS_OPCODE_PULL_CONSTANT instructions.

Similar to the previous commit for the fragment shader, now we have a buffer
index and an offset.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp