mesa: 4123d0b32138a0fbdbc7f61380d041704ba0ad43 (master) Run piglit vs-varying-array-mat3-col-row-rd on vwmgfx. $ ./bin/shader_runner tests/spec/glsl-1.10/execution/variable-indexing/vs-varying-array-mat3-col-row-rd.shader_test -auto src/gallium/drivers/svga/svga_tgsi_insn.c:273:get_temp: Assertion `i < 32' failed. (gdb) bt #0 0x00007f6ac0e187a1 in _debug_assert_fail (expr=0x7f6ac1a5f75f "i < 32", file=0x7f6ac1a5f538 "src/gallium/drivers/svga/svga_tgsi_insn.c", line=273, function=0x7f6ac1a5fd1c "get_temp") at src/gallium/auxiliary/util/u_debug.c:278 #1 0x00007f6ac0dc4e4b in get_temp (emit=0x7fffc100cc70) at src/gallium/drivers/svga/svga_tgsi_insn.c:273 #2 0x00007f6ac0dc569d in submit_lrp (emit=0x7fffc100cc70, dst=..., src0=..., src1=..., src2=...) at src/gallium/drivers/svga/svga_tgsi_insn.c:570 #3 0x00007f6ac0dc62d2 in emit_cmp (emit=0x7fffc100cc70, insn=0x7fffc100cba8) at src/gallium/drivers/svga/svga_tgsi_insn.c:901 #4 0x00007f6ac0dc97e0 in svga_emit_instruction (emit=0x7fffc100cc70, position=26, insn=0x7fffc100cba8) at src/gallium/drivers/svga/svga_tgsi_insn.c:2439 #5 0x00007f6ac0dcb2d0 in svga_shader_emit_instructions (emit=0x7fffc100cc70, tokens=0x1011f20) at src/gallium/drivers/svga/svga_tgsi_insn.c:3208 #6 0x00007f6ac0dc3b02 in svga_tgsi_translate (shader=0x1012740, key=..., unit=0) at src/gallium/drivers/svga/svga_tgsi.c:302 #7 0x00007f6ac0dc3f17 in svga_translate_vertex_program (vs=0x1012740, vkey=0x7fffc100daf0) at src/gallium/drivers/svga/svga_tgsi.c:369 #8 0x00007f6ac0dc1bbd in compile_vs (svga=0xe65a20, vs=0x1012740, key=0x7fffc100daf0, out_result=0x7fffc100db08) at src/gallium/drivers/svga/svga_state_vs.c:109 #9 0x00007f6ac0dc1e8c in emit_hw_vs (svga=0xe65a20, dirty=4294967295) at src/gallium/drivers/svga/svga_state_vs.c:190 #10 0x00007f6ac0dbaf83 in update_state (svga=0xe65a20, atoms=0x7f6ac22dc200, state=0xe6a020) at src/gallium/drivers/svga/svga_state.c:154 #11 0x00007f6ac0dbb1a7 in svga_update_state (svga=0xe65a20, max_level=2) at src/gallium/drivers/svga/svga_state.c:209 #12 0x00007f6ac0db7493 in retry_draw_arrays (svga=0xe65a20, prim=7, start=0, count=4, instance_count=1, do_retry=1 '\001') at src/gallium/drivers/svga/svga_pipe_draw.c:303 #13 0x00007f6ac0db77b5 in svga_draw_vbo (pipe=0xe65a20, info=0x7fffc100dcb0) at src/gallium/drivers/svga/svga_pipe_draw.c:404 #14 0x00007f6ac18c7ee7 in st_draw_vbo (ctx=0xf1e010, arrays=0xf97bb8, prims=0x7fffc100dd80, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3, tfb_vertcount=0x0) at src/mesa/state_tracker/st_draw.c:1110 #15 0x00007f6ac19661c6 in vbo_draw_arrays (ctx=0xf1e010, mode=7, start=0, count=4, numInstances=1) at src/mesa/vbo/vbo_exec_array.c:619 #16 0x00007f6ac1966305 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at src/mesa/vbo/vbo_exec_array.c:651 #17 0x0000000000438824 in stub_glDrawArrays (mode=7, first=0, count=4) at piglit/tests/util/generated_dispatch.c:5061 #18 0x000000000047434a in piglit_draw_rect (x=60, y=5, w=10, h=10) at piglit/tests/util/piglit-util-gl.c:738 #19 0x000000000042cf78 in piglit_display () at piglit/tests/shaders/shader_runner.c:1111 #20 0x000000000042e7b1 in display () at piglit/tests/util/piglit-framework.c:56 #21 0x00007f6ac50a8220 in fghRedrawWindow (window=0xe4f460) at freeglut_main.c:210 #22 fghcbDisplayWindow (window=0xe4f460, enumerator=0x7fffc100e070) at freeglut_main.c:227 #23 0x00007f6ac50ab939 in fgEnumWindows (enumCallback=0x7f6ac50a8120 <fghcbDisplayWindow>, enumerator=0x7fffc100e070) at freeglut_structure.c:394 #24 0x00007f6ac50a865a in fghDisplayAll () at freeglut_main.c:249 #25 glutMainLoopEvent () at freeglut_main.c:1450 #26 0x00007f6ac50a8f0e in glutMainLoop () at freeglut_main.c:1498 #27 0x000000000042ef4e in main (argc=2, argv=0x7fffc100e3c8) at piglit/tests/util/piglit-framework.c:304 (gdb) frame 1 #1 0x00007f6ac0dc4e4b in get_temp (emit=0x7fffc100cc70) at src/gallium/drivers/svga/svga_tgsi_insn.c:273 273 assert(i < SVGA3D_TEMPREG_MAX); (gdb) print i $1 = 32 (gdb) l 268 */ 269 static INLINE SVGA3dShaderDestToken 270 get_temp( struct svga_shader_emitter *emit ) 271 { 272 int i = emit->nr_hw_temp + emit->internal_temp_count++; 273 assert(i < SVGA3D_TEMPREG_MAX); 274 i = MIN2(i, SVGA3D_TEMPREG_MAX - 1); 275 return dst_register( SVGA3DREG_TEMP, i ); 276 } 277
This should not be an issue with the current driver. We support much more than 32 temps regs now.
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.