i965: Enable ARB_viewport_array
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 13 Nov 2013 20:15:19 +0000 (13:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:32:05 +0000 (11:32 -0800)
commit7837f425e7242bfc12f3d6d57d343609071ea6aa
tree32421cddb1a87367822b746af4ee42071db35c7c
parentd3ee8ba3469a6c143f5817e35a5200e9c836de32
i965: Enable ARB_viewport_array

v2 (idr): Only enable the extension on GEN7+ w/core profile because it
requires geometry shaders.

v3 (idr): Add some casting to fix setting of ViewportBounds.Min.
Negating an unsigned value, then casting to float doesn't do what you
might think it does.

Signed-off-by: Courtney Goeltzenleuchter <courtney@LunarG.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_extensions.c