[Bug 102623] [OpenGL CTS] KHR-GL45.enhanced_layouts.varying_block_automatic_member_locations fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 8 12:22:16 UTC 2017


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

--- Comment #1 from Juan A. Suarez <jasuarez at igalia.com> ---
This test creates some geometry and tessellation geometry shaders that contains
unsized output block arrays

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

layout(points)                           in;
layout(triangle_strip, max_vertices = 4) out;

layout (location = 2) out DBZ {
    vec4 goku;
    vec4 gohan[4];
    vec4 goten;
    layout (location = 1) vec4 chichi;
    vec4 pan;
} dbz[];

in  vec4 tes_gs[];
out vec4 gs_fs;
~~~

According to GLSL 4.30 specification, section 4.3.9 (Interface Blocks)

"Geometry shader input blocks must be declared as arrays and follow the array
declaration and linking rules for all geometry shader inputs. All other input
and output block arrays must specify an array size."

Though I didn't found it in the spec, Mesa code suggests this also applies to
tessellation evaluation shaders.

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


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