<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>high
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [ILK/SNB Bisected]Piglit spec_ARB_texture_cube_map_copyteximage_CUBE fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77553">77553</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Assignee</th>
<td>eric@anholt.net
</td>
</tr>
<tr>
<th>Summary</th>
<td>[ILK/SNB Bisected]Piglit spec_ARB_texture_cube_map_copyteximage_CUBE fails
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>huax.lu@intel.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>System Environment:
--------------------------
Platform: Ironlake/Sandybridge
Libdrm: (master)libdrm-2.4.53
Mesa: (master)6d0e30c6a332de9ea7ab00e1fd303df2fb337c64
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: 234db609544ee521458ce8b648e70cffe2fda6f9 is the first bad commit.
commit 234db609544ee521458ce8b648e70cffe2fda6f9
Author: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
AuthorDate: Fri Feb 28 13:23:25 2014 -0800
Commit: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
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 <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>> (v2)
Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
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:
----------------------------
1. xinit
2. ./bin/copyteximage CUBE -auto</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>