[Mesa-dev] [Bug 61827] New: [softpipe] piglit fbo-clear-formats GL_ARB_depth_buffer_float stencil regression
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 4 18:28:15 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=61827
Priority: medium
Bug ID: 61827
Keywords: regression
CC: anuj.phogat at gmail.com
Assignee: mesa-dev at lists.freedesktop.org
Summary: [softpipe] piglit fbo-clear-formats
GL_ARB_depth_buffer_float stencil regression
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: vlee at freedesktop.org
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Other
Product: Mesa
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 <anuj.phogat at gmail.com>
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 <anuj.phogat at gmail.com>
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
:040000 040000 56dc8f187d114e82f922ff7b0dcf6800a1eb174c
0891bad034833aa6624fa0caf7a6cf2818ddfc59 M src
bisect run success
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130305/e9011efb/attachment-0001.html>
More information about the mesa-dev
mailing list