[Bug 102621] [OpenGL CTS] KHR-GL45.enhanced_layouts.varying_block_member_locations fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 8 11:23:13 UTC 2017


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

--- Comment #1 from Juan A. Suarez <jasuarez at igalia.com> ---
Seems the test has some errors.

For instance, it declares a shader with the following definition:

~~~
#version 430 core
#extension GL_ARB_enhanced_layouts : require

out Goku {
    vec4 gohan;
    layout (location = 4) vec4 goten;
    vec4 chichi;
} goku;

in  vec4 in_vs;
out vec4 vs_tcs;
~~~

As seen, "goten" has location qualifier, but not the other members, nor the
"Goku" block.

According to GL_ARB_enhanced_layouts:

"It is a compile-time error to declare a block with some of its members 
 having a location, but not all.  Thus, if a block has no 
 block-level *location* layout qualifier, it is required that either all 
 or none of its members have a *location* layout qualifier."

-- 
You are receiving this mail because:
You are the assignee for the bug.
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/20170908/36a69819/attachment-0001.html>


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