<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [OpenGL CTS] KHR-GL45.enhanced_layouts.varying_block_member_locations fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102621#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [OpenGL CTS] KHR-GL45.enhanced_layouts.varying_block_member_locations fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102621">bug 102621</a>
              from <span class="vcard"><a class="email" href="mailto:jasuarez@igalia.com" title="Juan A. Suarez <jasuarez@igalia.com>"> <span class="fn">Juan A. Suarez</span></a>
</span></b>
        <pre>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."</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>