[Bug 95005] Unreal engine demos segfault after shader compilation error with OpenGL 4.3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 18 23:36:02 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95005

--- Comment #5 from Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl> ---
That created confusion on IRC too. I think that it isn't allowed based on

"All variable names, structure type names, and function names in a given scope
share the same name space. Function names can be redeclared in the same scope,
with the same or different parameters, without error. An implicitly sized array
can be re-declared in the same scope as an array of the same base type.
Otherwise, within one compilation unit, a declared name cannot be redeclared in
the same scope; doing so results in a redeclaration compile-time error."

(4.2 Scoping, GLSL 4.30 spec)

So I'm not entirely sure if you quoted patch conflicts with this, or that it
should be interpreted as hiding things on declaration, but not specifiying when
the declaration is allowed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160418/02e66377/attachment.html>


More information about the intel-3d-bugs mailing list