swr: support layer output in geometry shaders
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 5 Mar 2017 23:24:44 +0000 (18:24 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 16 Mar 2017 01:03:11 +0000 (21:03 -0400)
commite893b3a3672287f266a355e5b78ad7115e880292
tree69be8d51ab3c8745e6889701ace6ef49380a127e
parentad4dee521d7968a88393dc3685e7c593d27efba5
swr: support layer output in geometry shaders

This makes bin/gl-3.2-layered-rendering-gl-layer-render fail only with
2DMS_ARRAY, which is expected given the lackluster MSAA support. However
all the regular types pass.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/swr_shader.cpp