mesa: ded02bd54b5925ee222d7f426850312236b4f59d (master) Run piglit glsl-fs-discard-03 on i915g. $ ./bin/shader_runner tests/shaders/glsl-fs-discard-03.shader_test -auto src/gallium/drivers/i915/i915_fpc_emit.c:277:i915_emit_texld: Assertion `dest == ((((((dest)>>29)&0x7))<< 29) | (((((dest)>>24)&0xf)) << 24) | (0 << 20) | (1 << 16) | (2 << 12) | (3 << 8) | (4 << 4) | (5 << 0))' failed. Trace/breakpoint trap (core dumped) (gdb) bt #0 0x010ad5f4 in _debug_assert_fail ( expr=0x1b14630 "dest == ((((((dest)>>29)&0x7))<< 29) | (((((dest)>>24)&0xf)) << 24) | (0 << 20) | (1 << 16) | (2 << 12) | (3 << 8) | (4 << 4) | (5 << 0))", file=0x1b145d4 "src/gallium/drivers/i915/i915_fpc_emit.c", line=277, function=0x1b14730 "i915_emit_texld") at src/gallium/auxiliary/util/u_debug.c:278 #1 0x01063a3c in i915_emit_texld (p=0x94b1998, dest=0, destmask=15360, sampler=0, coord=74565, opcode=402653184, num_coord=1) at src/gallium/drivers/i915/i915_fpc_emit.c:277 #2 0x0105a539 in i915_translate_instruction (p=0x94b1998, inst=0x94a2c48, fs=0x94a4278) at src/gallium/drivers/i915/i915_fpc_translate.c:661 #3 0x0105c1d1 in i915_translate_token (p=0x94b1998, token=0x94a2c48, fs=0x94a4278) at src/gallium/drivers/i915/i915_fpc_translate.c:1166 #4 0x0105c245 in i915_translate_instructions (p=0x94b1998, tokens=0x94476d8, fs=0x94a4278) at src/gallium/drivers/i915/i915_fpc_translate.c:1187 #5 0x0105c7df in i915_translate_fragment_program (i915=0x93698c0, fs=0x94a4278) at src/gallium/drivers/i915/i915_fpc_translate.c:1349 #6 0x010545d0 in i915_create_fs_state (pipe=0x93698c0, templ=0x94d7674) at src/gallium/drivers/i915/i915_state.c:577 #7 0x0107ed35 in aaline_create_fs_state (pipe=0x93698c0, fs=0x94d7674) at src/gallium/auxiliary/draw/draw_pipe_aaline.c:856 #8 0x01080e9e in aapoint_create_fs_state (pipe=0x93698c0, fs=0x94d7674) at src/gallium/auxiliary/draw/draw_pipe_aapoint.c:839 #9 0x019c9345 in st_translate_fragment_program (st=0x9440b58, stfp=0x94c7318, key=0xbfe92db0) at src/mesa/state_tracker/st_program.c:716 #10 0x019c9466 in st_get_fp_variant (st=0x9440b58, stfp=0x94c7318, key=0xbfe92db0) at src/mesa/state_tracker/st_program.c:753 #11 0x01a72c89 in update_fp (st=0x9440b58) at src/mesa/state_tracker/st_atom_shader.c:86 #12 0x01a6ef7f in st_validate_state (st=0x9440b58) at src/mesa/state_tracker/st_atom.c:177 #13 0x01a79aeb in st_Clear (ctx=0x93eaa80, mask=2) at src/mesa/state_tracker/st_cb_clear.c:510 #14 0x019f2d43 in _mesa_Clear (mask=16384) at src/mesa/main/clear.c:242 #15 0x080728d5 in piglit_display () at piglit/tests/shaders/shader_runner.c:1084 #16 0x0807428f in display () at piglit/tests/util/piglit-framework.c:56 #17 0x004ccc1e in fghRedrawWindow (window=0x9361a28) at freeglut_main.c:210 #18 fghcbDisplayWindow (window=0x9361a28, enumerator=0xbfe930f8) at freeglut_main.c:227 #19 0x004d0590 in fgEnumWindows (enumCallback=0x4ccb20 <fghcbDisplayWindow>, enumerator=0xbfe930f8) at freeglut_structure.c:394 #20 0x004cd02e in fghDisplayAll () at freeglut_main.c:249 #21 glutMainLoopEvent () at freeglut_main.c:1450 #22 0x004cd935 in glutMainLoop () at freeglut_main.c:1498 #23 0x080749c6 in main (argc=2, argv=0xbfe93364) at piglit/tests/util/piglit-framework.c:294 (gdb) frame 1 #1 0x01063a3c in i915_emit_texld (p=0x94b1998, dest=0, destmask=15360, sampler=0, coord=74565, opcode=402653184, num_coord=1) at src/gallium/drivers/i915/i915_fpc_emit.c:277 277 assert(dest == UREG(GET_UREG_TYPE(dest), GET_UREG_NR(dest)));
Ok, fixed.
mesa: bed4c7ea5ea65ae4d591c5f9fb6d0ab24ba268ee (master) Verified fixed.
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.