glsl: implement recent spec update to SSO validation
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 24 Nov 2015 00:44:13 +0000 (11:44 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 24 Nov 2015 09:59:48 +0000 (20:59 +1100)
commit2571a768d6cacfbc7e434dfc2b6d01bdf5be21a6
treeeba956c50613f677a1ba41d8fc6e020cecf3ede0
parent3c4aa7aff2a976e94c2b6b7bf273edd617080ca3
glsl: implement recent spec update to SSO validation

Enables 200+ dEQP SSO tests to proceed past validation,
and fixes a ES31-CTS.sepshaderobjs.PipelineApi subtest.

V2: split out change that reverts a previous patch into its own commit,
move variable declaration to top of function, and fix some formatting
all suggested by Ian.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Cc: "11.1" <mesa-stable@lists.freedesktop.org>
src/mesa/main/pipelineobj.c