mesa: d65bd195ecbd6623b962a3c98725a484ef2791a8 (master) Run piglit test depthstencil-render-miplevels 585 ds=z24_s8 on softpipe or llvmpipe. $ ./bin/depthstencil-render-miplevels 585 ds=z24_s8 -auto src/mesa/state_tracker/st_cb_fbo.c:379:st_render_texture: Assertion `strb->rtt_level <= strb->texture->last_level' failed. (gdb) bt #0 0x00007f0db3bb4fe1 in _debug_assert_fail ( expr=0x7f0db4473e40 "strb->rtt_level <= strb->texture->last_level", file=0x7f0db4473af8 "src/mesa/state_tracker/st_cb_fbo.c", line=379, function=0x7f0db4473ed0 "st_render_texture") at src/gallium/auxiliary/util/u_debug.c:278 #1 0x00007f0db3a05749 in st_render_texture (ctx=0x107bc30, fb=0x1166450, att=0x1166600) at src/mesa/state_tracker/st_cb_fbo.c:379 #2 0x00007f0db393d7b7 in _mesa_set_texture_attachment (ctx=0x107bc30, fb=0x1166450, att=0x1166600, texObj=0x1165270, texTarget=3553, level=1, zoffset=0) at src/mesa/main/fbobject.c:358 #3 0x00007f0db3941393 in framebuffer_texture (ctx=0x107bc30, caller=0x7f0db4459428 "2D", target=36009, attachment=33306, textarget=3553, texture=2, level=1, zoffset=0) at src/mesa/main/fbobject.c:2040 #4 0x00007f0db3941685 in _mesa_FramebufferTexture2DEXT (target=36009, attachment=33306, textarget=3553, texture=2, level=1) at src/mesa/main/fbobject.c:2150 #5 0x0000000000425db4 in (anonymous namespace)::set_up_framebuffer_for_miplevel (level=1) at piglit/tests/texturing/depthstencil-render-miplevels.cpp:158 #6 0x0000000000425a56 in piglit_init (argc=3, argv=0x7fff072ee638) at piglit/tests/texturing/depthstencil-render-miplevels.cpp:410 #7 0x0000000000426f16 in main (argc=3, argv=0x7fff072ee638) at piglit/tests/util/piglit-framework.c:298 (gdb) frame 1 #1 0x00007f0db3a05749 in st_render_texture (ctx=0x107bc30, fb=0x1166450, att=0x1166600) at src/mesa/state_tracker/st_cb_fbo.c:379 379 assert(strb->rtt_level <= strb->texture->last_level); (gdb) print strb->rtt_level $1 = 1 (gdb) print strb->texture->last_level $2 = 0
Fix pushed with commit c91b4edff978ee19afb4fe38ad69efc52db90691
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.