<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [softpipe] piglit fbo-clear-formats GL_ARB_depth_buffer_float stencil regression"
href="https://bugs.freedesktop.org/show_bug.cgi?id=61827">61827</a>
</td>
</tr>
<tr>
<th>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>CC</th>
<td>anuj.phogat@gmail.com
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[softpipe] piglit fbo-clear-formats GL_ARB_depth_buffer_float stencil regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>mesa: e21460b4d515a7ea41e2694c89b5d94b0bd84d54 (master)
$ ./bin/fbo-clear-formats GL_ARB_depth_buffer_float stencil -auto
Mesa warning: failed to remap glClampColorARB
Mesa warning: failed to remap glTexBufferARB
Mesa warning: failed to remap glFramebufferTextureARB
Mesa warning: failed to remap glVertexAttribDivisorARB
Mesa warning: failed to remap glProgramParameteriARB
Using test set: GL_ARB_depth_buffer_float
Testing GL_DEPTH_COMPONENT32F - no stencil.
Testing GL_DEPTH32F_STENCIL8
Mesa: User error: GL_INVALID_OPERATION in glBlitFramebuffer(stencil attachment
depth format mismatch)
fbo-clear-formats: piglit/tests/fbo/fbo-clear-formats.c:332:
draw_stencil_mipmap: Assertion `piglit_dispatch_glGetError() == 0' failed.
Aborted (core dumped)
(gdb) bt
#0 0x00007fcaf932a425 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007fcaf932db8b in __GI_abort () at abort.c:91
#2 0x00007fcaf93230ee in __assert_fail_base (fmt=<optimized out>,
assertion=0x4061f8 "piglit_dispatch_glGetError() == 0",
file=0x4061b8 "piglit/tests/fbo/fbo-clear-formats.c", line=<optimized out>,
function=<optimized out>) at assert.c:94
#3 0x00007fcaf9323192 in __GI___assert_fail (assertion=0x4061f8
"piglit_dispatch_glGetError() == 0",
file=0x4061b8 "piglit/tests/fbo/fbo-clear-formats.c", line=332,
function=0x406280 "draw_stencil_mipmap") at assert.c:103
#4 0x0000000000402ce9 in draw_stencil_mipmap (x=1, y=1, dim=256, tex=1,
level=0) at piglit/tests/fbo/fbo-clear-formats.c:332
#5 0x00000000004035c9 in test_format (format=0x404ed8) at
piglit/tests/fbo/fbo-clear-formats.c:535
#6 0x0000000000401f92 in fbo_formats_display (test_format=0x40346d
<test_format>) at piglit/tests/fbo/fbo-formats.h:641
#7 0x00000000004036d4 in piglit_display () at
piglit/tests/fbo/fbo-clear-formats.c:563
#8 0x00007fcaf991c418 in display () at
piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:60
#9 0x00007fcaf90ce137 in fghRedrawWindow (window=0x21a7e60) at
freeglut_main.c:210
#10 fghcbDisplayWindow (window=0x21a7e60, enumerator=0x7fff69b020d0) at
freeglut_main.c:227
#11 0x00007fcaf90d1889 in fgEnumWindows (enumCallback=0x7fcaf90ce0d0
<fghcbDisplayWindow>, enumerator=0x7fff69b020d0) at freeglut_structure.c:394
#12 0x00007fcaf90ce5fa in fghDisplayAll () at freeglut_main.c:249
#13 glutMainLoopEvent () at freeglut_main.c:1450
#14 0x00007fcaf90cef05 in glutMainLoop () at freeglut_main.c:1498
#15 0x00007fcaf991c5f0 in run_test (gl_fw=0x7fcaf9befbc0, argc=3,
argv=0x7fff69b02498)
at piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:127
#16 0x00007fcaf991a736 in piglit_gl_test_run (argc=3, argv=0x7fff69b02498,
config=0x7fff69b02380) at piglit/tests/util/piglit-framework-gl.c:127
#17 0x00000000004020c0 in main (argc=4, argv=0x7fff69b02498) at
piglit/tests/fbo/fbo-clear-formats.c:49
(gdb) frame 4
#4 0x0000000000402ce9 in draw_stencil_mipmap (x=1, y=1, dim=256, tex=1,
level=0) at piglit/tests/fbo/fbo-clear-formats.c:332
332 assert(glGetError() == 0);
252573ae0fe6c928885f005cf6e77200b45601fb is the first bad commit
commit 252573ae0fe6c928885f005cf6e77200b45601fb
Author: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>>
Date: Mon Jan 7 15:55:31 2013 -0800
mesa: Fix GL error generation in glBlitFramebuffer()
V2:
If mask has GL_STENCIL_BUFFER_BIT set, the depth formats for
readRenderBuffer and drawRenderBuffer must match unless one of the two
buffers doesn't have depth, in which case it's not blitted, so the
format check should be ignored. Same comment goes for stencil formats
in depth renderbuffers if mask has GL_DEPTH_BUFFER_BIT set.
v3 (Kayden): Refactor code to be a bit more readable.
Signed-off-by: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>>
Signed-off-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Reviewed-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
Reviewed-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
:040000 040000 56dc8f187d114e82f922ff7b0dcf6800a1eb174c
0891bad034833aa6624fa0caf7a6cf2818ddfc59 M src
bisect run success</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>