glsl/linker: call link_uniform blocks on linked shader.
authorDave Airlie <airlied@redhat.com>
Fri, 27 May 2016 03:21:57 +0000 (13:21 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 27 May 2016 19:35:53 +0000 (05:35 +1000)
commitc44513a1f3dc0dd4c1a7217cca19de94e4e5b2af
tree0f23847a489197d083e516a6a29908d2c299f1f5
parentf0254fdd070d14d7910555e03ed9cd103d0f9777
glsl/linker: call link_uniform blocks on linked shader.

The old code called this on the prelinked shader list,
but at this point we have the linked shader, so we should
call the interface on that alone.

This fixes a regression in:
dEQP-GLES31.functional.ssbo.layout.random.all_per_block_buffers.13
introduced in
5b2675093e863a52b610f112884ae12d42513770
glsl: handle implicit sized arrays in ssbo

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96228
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reported-by: Mark James
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/linker.cpp