[Bug 76394] [IVB/HSW] ogl-samples: gl-320-primitive-shading render error (missing all colors)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 4 01:16:36 PDT 2014


--- Comment #2 from Iago Toral <itoral at igalia.com> ---
The problem seems to be that there is a conflict with the names of in/out
variables in the geometry shader that the compiler is not handling properly,
even when they are in different interface blocks.

Inputs and outputs in the geometry shader are defined like this:

in block
    vec4 Color;
} In[];

out block
       vec4 Color;
} Out;

Simply giving the output a different name (and editing the vertex/frag shaders
accordingly) fixes the problem. For example:

out block
    vec4 ColorF;
} Out;

Note: It will still write the error messages mentioned in the bug report after
this change. These errors are produced with every access to gl_in in the
geometry shader.

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/20140404/c7c673c2/attachment.html>

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