https://bugs.freedesktop.org/show_bug.cgi?id=52033
Bug #: 52033 Summary: [swrast] swrast/s_texfetch.c:1156: set_fetch_functions: Assertion `texImage->FetchTexel' failed. Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: critical Priority: medium Component: Other AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: v...@freedesktop.org mesa: 1a06e8454ec714e950bc88882cd985534a18bf1f (master) Run piglit copytextimage 2D_ARRAY test on swrast. $ ./bin/copyteximage 2D_ARRAY Testing GL_TEXTURE_2D_ARRAY Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RED Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RG Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RGB8 Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RGB16 Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RGB16F - skipped Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RGB32F - skipped Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RGBA8 Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RGBA16 Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RGBA16F - skipped Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_RGBA32F - skipped Texture target = GL_TEXTURE_2D_ARRAY, Internal format = GL_COMPRESSED_RED copyteximage: ./../swrast/s_texfetch.c:1156: set_fetch_functions: Assertion `texImage->FetchTexel' failed. (gdb) bt #0 0x00007f569ed6b445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007f569ed6ebab in __GI_abort () at abort.c:91 #2 0x00007f569ed6410e in __assert_fail_base (fmt=<optimized out>, assertion=0x7f569bd5fe27 "texImage->FetchTexel", file=0x7f569bd5fdf3 "./../swrast/s_texfetch.c", line=<optimized out>, function=<optimized out>) at assert.c:94 #3 0x00007f569ed641b2 in __GI___assert_fail (assertion=0x7f569bd5fe27 "texImage->FetchTexel", file=0x7f569bd5fdf3 "./../swrast/s_texfetch.c", line=1156, function=0x7f569bd60040 "set_fetch_functions") at assert.c:103 #4 0x00007f569bc7c228 in set_fetch_functions (dims=3, texImage=0x24c9b00) at ./../swrast/s_texfetch.c:1156 #5 _mesa_update_fetch_functions (texObj=<optimized out>) at ./../swrast/s_texfetch.c:1170 #6 0x00007f569bc61b7e in _swrast_update_texture_samplers (ctx=0x24c9ed0) at ./../swrast/s_context.c:484 #7 0x00007f569bc62119 in _swrast_validate_derived (ctx=0x24c9ed0) at ./../swrast/s_context.c:576 #8 0x00007f569bc65700 in _swrast_DrawPixels (ctx=0x24c9ed0, x=0, y=0, width=16, height=16, format=6408, type=5126, unpack=0x24d0758, pixels=0x7fff0498f740) at ./../swrast/s_drawpix.c:675 #9 0x00007f569bb51480 in _mesa_DrawPixels (width=16, height=16, format=6408, type=5126, pixels=0x7fff0498f740) at ./../main/drawpix.c:163 #10 0x00000000004019d8 in draw_pixels (scale=1) at piglit/tests/texturing/copyteximage.c:376 #11 0x0000000000401a48 in draw (format=33317, scale=1) at piglit/tests/texturing/copyteximage.c:391 #12 0x00000000004026c6 in piglit_display () at piglit/tests/texturing/copyteximage.c:594 #13 0x00007f569f364c61 in display () at piglit/tests/util/piglit-framework-glut.c:53 #14 0x00007f569eb0f220 in fghRedrawWindow (window=0x24c5e60) at freeglut_main.c:210 #15 fghcbDisplayWindow (window=0x24c5e60, enumerator=0x7fff04990890) at freeglut_main.c:227 #16 0x00007f569eb12939 in fgEnumWindows (enumCallback=0x7f569eb0f120 <fghcbDisplayWindow>, enumerator=0x7fff04990890) at freeglut_structure.c:394 #17 0x00007f569eb0f65a in fghDisplayAll () at freeglut_main.c:249 #18 glutMainLoopEvent () at freeglut_main.c:1450 #19 0x00007f569eb0ff65 in glutMainLoop () at freeglut_main.c:1498 #20 0x00007f569f364e03 in piglit_framework_glut_run (info=0x7fff04990b30) at piglit/tests/util/piglit-framework-glut.c:139 #21 0x00007f569f3647ed in piglit_gl_test_run (argc=2, argv=0x7fff04990c38, info=0x7fff04990b30) at piglit/tests/util/piglit-framework.c:138 #22 0x0000000000401689 in main (argc=2, argv=0x7fff04990c38) at piglit/tests/texturing/copyteximage.c:109 (gdb) frame 4 #4 0x00007f569bc7c228 in set_fetch_functions (dims=3, texImage=0x24c9b00) at ./../swrast/s_texfetch.c:1156 1156 ASSERT(texImage->FetchTexel); (gdb) print texImage->FetchTexel $1 = (FetchTexelFunc) 0 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev