i965: Emit writes to viewport index
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 5 Nov 2013 20:19:23 +0000 (12:19 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:32:01 +0000 (11:32 -0800)
commitfceb8b55c078b07e71f862ac135c2c339ef53e98
tree6b60f637421a83530c97cc866549cc4fa1af36e7
parent37f65b07512c0291580811689f65bfcbcc489231
i965: Emit writes to viewport index

This variable is handled in a fashion identical to gl_Layer.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.c