[ILK] piglit.spec.arb_texture_cube_map.copyteximage cube fails
Submitted by lu hua
Assigned to Intel 3D Bugs Mailing List
Description
System Environment:
Platform: Ironlake/Sandybridge Libdrm: (master)libdrm-2.4.53 Mesa: (master)6d0e30c6 Xserver: (master)xorg-server-1.15.99.902-2-g3028ae6c9aa37168e249e0d847b29f8e3efb05b2 Xf86_video_intel:(master)2.99.911-80-gfd0579016be9e0385c0cdd07a9f9e17f93b93a4f Cairo: (master)bb17403622e9ea474017e0039af8ee48b2b285db Libva: (staging)960352aaf1e11891a533ce2c98b16edde24d6851 Libva_intel_driver:(staging)782b8afdda14f000874d8acf51c3e8c490d55773 Kernel: (drm-intel-nightly) 45912bd2d9d3d8f8e78e81bbab25251c6b17c5f8
Bug detailed description:
It fails on Ironlake and Sandybrisge with mesa master branch, works well on 10.1 branch, spec_EXT_texture_array_copyteximage_1D_ARRAY and spec_EXT_texture_array_copyteximage_2D_ARRAY also fail with same bisect commit.
Bisect shows: 234db609 is the first bad commit. commit 234db609 Author: Eric Anholt eric@anholt.net AuthorDate: Fri Feb 28 13:23:25 2014 -0800 Commit: Eric Anholt eric@anholt.net CommitDate: Tue Apr 15 14:34:22 2014 -0700
meta: Add an accelerated glCopyTexSubImage using glBlitFramebuffer.
You'll note from the previous commits that there's something of a loop
here: You call CTSI, which calls BlitFB, then if things go wrong that
falls back to CTSI. As a result, meta CTSI reaches over into blitfb to
tell it "no, don't try that fallback".
v2: Drop the _mesa_update_state(), which was only necessary due to use of
_mesa_clip_blit() in _mesa_meta_BlitFramebuffer() in another patch
series.
v3: Drop an _EXT suffix I copy-and-pasted.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v2)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
output: 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 WARNING: Depth/stencil buffer needs alignment to 8-pixel boundaries. Truncating offset, bad rendering may occur. WARNING: Depth/stencil buffer needs alignment to 8-pixel boundaries. Truncating offset, bad rendering may occur. Probe color at (336,12) Expected: 0.637500 0.637500 0.637500 1.000000 Observed: 0.000000 0.000000 0.000000 1.000000 Probe color at (348,0) Expected: 0.412500 0.412500 0.412500 1.000000 Observed: 0.000000 0.000000 0.000000 1.000000 Probe color at (336,12) 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 Probe color at (368,12) Expected: 0.637500 0.637500 0.637500 1.000000 Observed: 0.000000 0.000000 0.000000 1.000000 Probe color at (380,0) Expected: 0.412500 0.412500 0.412500 1.000000 Observed: 0.000000 0.000000 0.000000 1.000000 Probe color at (368,12) Expected: 0.187500 0.187500 0.187500 1.000000 Observed: 0.000000 0.000000 0.000000 1.000000 PIGLIT: {'result': 'fail' }
Reproduce steps:
- xinit
- ./bin/copyteximage CUBE -auto