Summary: | [IVB/HSW] ogl-samples: gl-320-fbo-layered render error with “grid” | ||
---|---|---|---|
Product: | Mesa | Reporter: | meng <mengmeng.meng> |
Component: | Drivers/DRI/i965 | Assignee: | Ian Romanick <idr> |
Status: | CLOSED NOTOURBUG | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | eero.t.tamminen, itoral, jianx.zhou |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | render error png for gl-320-fbo-layered |
Description
meng
2014-03-20 11:46:57 UTC
Created attachment 96097 [details]
render error png for gl-320-fbo-layered
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. From the og-samples developers: "True, it seems that I forgot to update the reference image." I filed an issue in github so they can track and fix this at some point in ogl-samples. The bug in Mesa should be closed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.