[Bug 76391] [IVB/HSW] ogl-samples: gl-320-draw-instanced failure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 23 01:48:34 PDT 2014


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

--- Comment #1 from Kenneth Graunke <kenneth at whitecape.org> ---
Did a bit of digging here:

The vertex shader contains code to override the default qualifiers for uniform
blocks.

layout(std140, column_major) uniform;

However, the fragment shader does not.

So, when we compile the vertex shader, the uniform blocks get packing set to
GLSL_INTERFACE_PACKING_STD140.  However, when we compile the fragment shader,
they get packing set to GLSL_INTERFACE_PACKING_SHARED.  This information is
captured in the types, so the two shaders get different glsl_types for the
otherwise identical interfaces, and interstage_match() rejects the shaders.

Anyway, that's what's going on.  I haven't looked at specs to determine whether
we have a bug, or the demo has a bug.

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


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