[Bug 76397] [IVB/HSW] ogl-samples: gl-320-fbo-layered render error with “grid”

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 1 04:34:15 PDT 2014


--- Comment #2 from Iago Toral <itoral at igalia.com> ---
Looking at the code in the test I think the result obtained in Mesa is correct
and the reference expected output is actually wrong.

When rendering to the main framebuffer, the test first clears it in *white*
like this:

glBindFramebuffer(GL_FRAMEBUFFER, 0);
glClearBufferfv(GL_COLOR, 0, &glm::vec4(1.0f, 1.0f, 1.0f, 1.0f)[0]);

Then renders to it with 4 different viewports with these configurations:

Viewport 0: x=2,   y=2,   w=316, h=236
Viewport 1: x=322, y=1,   w=316, h=236
Viewport 2: x=322, y=242, w=316, h=236
Viewport 3: x=2,   y=242, w=316, h=236

So obviously, there are gaps that are not being rendered and will show in the
color in which the color buffer was cleared (i.e. white).

I'll ping the developers of ogl-samples about this.

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/20140401/17fc485a/attachment.html>

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