glsl: add support for explicit components to frag outputs

Graphics / Mesa 3D Graphics Library / Mesa - Timothy Arceri [collabora.com] - 23 May 2016 21:46 UTC

V2: fix error checking for arrays and components. V1 was only taking into account all the array elements and all the components of one of the varyings during the comparision and treating the other as a single slot/component.

72449c4 glsl: add support for explicit components to frag outputs
src/compiler/glsl/linker.cpp | 72 ++++++++++++++++++++++++++++++++++++------
1 file changed, 62 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share