Bug 43769 - [i915g] src/gallium/drivers/i915/i915_fpc_translate.c:658:i915_translate_instruction: Assertion `0' failed.
Summary: [i915g] src/gallium/drivers/i915/i915_fpc_translate.c:658:i915_translate_inst...
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/i915g (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 16:48 UTC by Vinson Lee
Modified: 2019-09-18 19:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2011-12-12 16:48:27 UTC
mesa: 23895cc006f3dbf96a502ddd15e291e071aff25a (master)

Run piglit glsl-fs-discard-03 test on i915g.

$ ./bin/shader_runner tests/shaders/glsl-fs-discard-03.shader_test -auto
src/gallium/drivers/i915/i915_fpc_translate.c:658:i915_translate_instruction: Assertion `0' failed.
Trace/breakpoint trap (core dumped)

(gdb) bt
#0  0x01126e18 in _debug_assert_fail (expr=0x1aa052a "0", file=0x1aa03d8 "src/gallium/drivers/i915/i915_fpc_translate.c", line=658, 
    function=0x1aa0860 "i915_translate_instruction") at src/gallium/auxiliary/util/u_debug.c:278
#1  0x010d4666 in i915_translate_instruction (p=0xa1b7528, inst=0xa1c08c8, fs=0xa1c0118) at src/gallium/drivers/i915/i915_fpc_translate.c:658
#2  0x010d62fe in i915_translate_token (p=0xa1b7528, token=0xa1c08c8, fs=0xa1c0118) at src/gallium/drivers/i915/i915_fpc_translate.c:1157
#3  0x010d6372 in i915_translate_instructions (p=0xa1b7528, tokens=0xa15af08, fs=0xa1c0118) at src/gallium/drivers/i915/i915_fpc_translate.c:1178
#4  0x010d690c in i915_translate_fragment_program (i915=0xa0678c0, fs=0xa1c0118) at src/gallium/drivers/i915/i915_fpc_translate.c:1340
#5  0x010ce7d6 in i915_create_fs_state (pipe=0xa0678c0, templ=0xa1ebee4) at src/gallium/drivers/i915/i915_state.c:577
#6  0x010f8910 in aaline_create_fs_state (pipe=0xa0678c0, fs=0xa1ebee4) at src/gallium/auxiliary/draw/draw_pipe_aaline.c:856
#7  0x010faa2f in aapoint_create_fs_state (pipe=0xa0678c0, fs=0xa1ebee4) at src/gallium/auxiliary/draw/draw_pipe_aapoint.c:839
#8  0x01955608 in st_translate_fragment_program (st=0xa155488, stfp=0xa1dbb88, key=0xbf932470) at src/mesa/state_tracker/st_program.c:710
#9  0x01955729 in st_get_fp_variant (st=0xa155488, stfp=0xa1dbb88, key=0xbf932470) at src/mesa/state_tracker/st_program.c:747
#10 0x01a0113d in update_fp (st=0xa155488) at src/mesa/state_tracker/st_atom_shader.c:86
#11 0x019fd43b in st_validate_state (st=0xa155488) at src/mesa/state_tracker/st_atom.c:177
#12 0x01a07eec in st_Clear (ctx=0xa0ff3d8, mask=2) at src/mesa/state_tracker/st_cb_clear.c:507
#13 0x0197eeb3 in _mesa_Clear (mask=16384) at src/mesa/main/clear.c:242
#14 0x08072795 in piglit_display () at piglit/tests/shaders/shader_runner.c:1084
#15 0x08074147 in display () at piglit/tests/util/piglit-framework.c:56
#16 0x0076bc1e in fghRedrawWindow (window=0xa05fa28) at freeglut_main.c:210
#17 fghcbDisplayWindow (window=0xa05fa28, enumerator=0xbf9327b8) at freeglut_main.c:227
#18 0x0076f590 in fgEnumWindows (enumCallback=0x76bb20 <fghcbDisplayWindow>, enumerator=0xbf9327b8) at freeglut_structure.c:394
#19 0x0076c02e in fghDisplayAll () at freeglut_main.c:249
#20 glutMainLoopEvent () at freeglut_main.c:1450
#21 0x0076c935 in glutMainLoop () at freeglut_main.c:1498
#22 0x0807487e in main (argc=2, argv=0xbf932a24) at piglit/tests/util/piglit-framework.c:294
(gdb) frame 1
#1  0x010d4666 in i915_translate_instruction (p=0xa1b7528, inst=0xa1c08c8, fs=0xa1c0118) at src/gallium/drivers/i915/i915_fpc_translate.c:658
658	      assert(0); /* not tested yet */
(gdb) l
653	                      T0_TEXKILL,            /* opcode */
654	                      1);                    /* num_coord */
655	      break;
656	
657	   case TGSI_OPCODE_KILP:
658	      assert(0); /* not tested yet */
659	      break;
660	
661	   case TGSI_OPCODE_LG2:
662	      src0 = src_vector(p, &inst->Src[0], fs);
Comment 1 GitLab Migration User 2019-09-18 19:30:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/656.


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.