| Summary: | [ILK] piglit.spec.arb_texture_cube_map.copyteximage cube fails | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | lu hua <huax.lu> |
| Component: | Drivers/DRI/i965 | Assignee: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
| Status: | RESOLVED MOVED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
| Severity: | major | ||
| Priority: | lowest | CC: | brad.king, christophe.prigent, idr, rhyskidd |
| Version: | unspecified | Keywords: | bisected, regression |
| Hardware: | All | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
lu hua
2014-04-17 02:58:22 UTC
Commit 234db609544ee521458ce8b648e70cffe2fda6f9 also regressed VTK tests that use transparency (depth peeling), with mesa configured as: ./autogen.sh --prefix=... --disable-dri --disable-egl --disable-shared-glapi --enable-xlib-glx --enable-osmesa --without-gallium-drivers The problem goes away if I remove the call to copytexsubimage_using_blit_framebuffer added by that commit. I'm happy to provide more information about the tests if needed. It also fails on Mesa 10.2 branch. Previously, the Meta CopyTexSubImage path would do ReadPixels and TexImage. The TexImage was done via CPU mappings. With this patch, it uses Meta BlitFramebuffer, which does texturing and rendering. Unfortunately, it hits a limitation in our Gen4-6 rendering path: the hardware ignores the low bits of the surface tile offsets. So, we get bad rendering. Jordan's gen6-layered series fixes this on Sandybridge. Thus, reassigning to him. I'm not sure what to do about Ironlake. For SNB only, this should be resolved in master a1dca7069bd46074f43658c87d396bff8cd4dffd. Please verify. Fixed on SNB with latest master branch.It still fails on ILK.
output on SNB:
Testing GL_TEXTURE_CUBE_MAP
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RED
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RG
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGB8
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGB16
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGB16F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGB32F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGBA8
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGBA16
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGBA16F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGBA32F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_COMPRESSED_RED
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_COMPRESSED_RG
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_COMPRESSED_RGB
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_COMPRESSED_RGBA
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_LUMINANCE
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_LUMINANCE_ALPHA
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_INTENSITY
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH_COMPONENT
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH_COMPONENT16
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH_COMPONENT24
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH_COMPONENT32F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH24_STENCIL8
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH32F_STENCIL8
PIGLIT: {"result": "pass" }
output on ILK:
Testing GL_TEXTURE_CUBE_MAP
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RED
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RG
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGB8
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGB16
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGB16F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGB32F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGBA8
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGBA16
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGBA16F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_RGBA32F
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_COMPRESSED_RED
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_COMPRESSED_RG
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_COMPRESSED_RGB
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_COMPRESSED_RGBA
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_LUMINANCE
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_LUMINANCE_ALPHA
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_INTENSITY
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH_COMPONENT
WARNING: Depth/stencil buffer needs alignment to 8-pixel boundaries.
Truncating offset, bad rendering may occur.
Probe color at (288,10)
Expected: 0.637500 0.637500 0.637500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (288,12)
Expected: 0.525000 0.525000 0.525000 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (302,0)
Expected: 0.412500 0.412500 0.412500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (288,10)
Expected: 0.187500 0.187500 0.187500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH_COMPONENT16
Probe color at (304,10)
Expected: 0.637500 0.637500 0.637500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (304,12)
Expected: 0.525000 0.525000 0.525000 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (318,0)
Expected: 0.412500 0.412500 0.412500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (304,10)
Expected: 0.187500 0.187500 0.187500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH_COMPONENT24
Probe color at (320,10)
Expected: 0.637500 0.637500 0.637500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (320,12)
Expected: 0.525000 0.525000 0.525000 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (334,0)
Expected: 0.412500 0.412500 0.412500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (320,10)
Expected: 0.187500 0.187500 0.187500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH_COMPONENT32F
Probe color at (336,10)
Expected: 0.637500 0.637500 0.637500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (336,12)
Expected: 0.525000 0.525000 0.525000 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (350,0)
Expected: 0.412500 0.412500 0.412500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Probe color at (336,10)
Expected: 0.187500 0.187500 0.187500 1.000000
Observed: 0.000000 0.000000 0.000000 1.000000
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH24_STENCIL8
Texture target = GL_TEXTURE_CUBE_MAP, Internal format = GL_DEPTH32F_STENCIL8
PIGLIT: {"result": "fail" }
Lowering the priority of this bug, since it only shows up on ILK. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1440. |
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.