glslang parser: Fix crash for ES shader with a uniform block with an unsized array that is later accessed. David Neto (dneto@google.com).
Instead of crashing, exit early from the implicit-sized-array-size-update routine so we can get to a real error message which is emitted later. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31109 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -36,12 +36,13 @@ comment.frag
|
||||
300layout.frag
|
||||
300operations.frag
|
||||
300block.frag
|
||||
310.comp
|
||||
310.vert
|
||||
310.frag
|
||||
330.frag
|
||||
330comp.frag
|
||||
constErrors.frag
|
||||
310.comp
|
||||
310.vert
|
||||
310.frag
|
||||
310implicitSizeArrayError.vert
|
||||
330.frag
|
||||
330comp.frag
|
||||
constErrors.frag
|
||||
constFold.frag
|
||||
errors.frag
|
||||
forwardRef.frag
|
||||
|
||||
Reference in New Issue
Block a user