OSDN Git Service

glsl: don't apply uniform/buffer layouts to interface blocks
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 14 Feb 2016 05:18:36 +0000 (16:18 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sat, 5 Mar 2016 08:06:56 +0000 (19:06 +1100)
commitd244986bf20aedf5ef6a156ec97d33f485993323
tree9843d5e9e056212481f2b1899431c4c65e6352c1
parent4ba7ad6cc13b087e5e95073ab2e24de591d8b5a5
glsl: don't apply uniform/buffer layouts to interface blocks

If the following patch we will stop setting these layouts by default
on interface blocks, so we need to do this to avoid hitting the
assert.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/glsl/ast_to_hir.cpp