Bug 43770 - [i915g] src/gallium/drivers/i915/i915_fpc_emit.c:153:i915_emit_arith: Assertion `(((dest)>>29)&0x7) != 2' failed.
Summary: [i915g] src/gallium/drivers/i915/i915_fpc_emit.c:153:i915_emit_arith: Asserti...
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 17:06 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 17:06:44 UTC
mesa: 23895cc006f3dbf96a502ddd15e291e071aff25a (master)

Run piglit fs-temp-array-mat3-index-col-row-rd test on i915g.

$ ./bin/shader_runner tests/spec/glsl-1.20/execution/variable-indexing/fs-temp-array-mat3-index-col-row-rd.shader_test -auto
Too many temps (16)
Too many temps (17)
Too many temps (18)
Too many temps (19)
Too many temps (20)
Too many temps (21)
Too many temps (22)
Too many temps (23)
Too many temps (24)
Too many temps (25)
Too many temps (26)
Too many temps (27)
Too many temps (28)
Too many temps (29)
Too many temps (30)
Too many temps (31)
Too many temps (32)
Too many temps (33)
Too many temps (34)
Too many temps (35)
Too many temps (36)
Too many temps (37)
Too many temps (38)
Too many temps (39)
Too many temps (40)
Too many temps (41)
Too many temps (42)
Too many temps (43)
Too many temps (44)
Too many temps (45)
Too many temps (46)
Too many temps (47)
Too many temps (48)
Too many temps (49)
Too many temps (50)
Too many temps (51)
Too many temps (52)
Too many temps (53)
Too many temps (54)
Too many temps (55)
Too many temps (56)
Too many temps (57)
Too many temps (58)
Too many temps (59)
Too many temps (60)
Too many temps (61)
Too many temps (62)
Too many temps (63)
Too many temps (64)
Too many temps (65)
Too many temps (66)
Too many temps (67)
i915_program_error: Exceeded max temporary reg
i915_program_error: bad opcode 0
i915_program_error: Exceeded max temporary reg
i915_program_error: bad opcode 0
i915_program_error: Exceeded max temporary reg
i915_program_error: Exceeded max temporary reg
i915_program_error: Exceeded max temporary reg
i915_program_error: bad opcode 0
i915_program_error: Exceeded max temporary reg
i915_program_error: Exceeded max temporary reg
i915_program_error: Exceeded max temporary reg
src/gallium/drivers/i915/i915_fpc_emit.c:153:i915_emit_arith: Assertion `(((dest)>>29)&0x7) != 2' failed.
Trace/breakpoint trap (core dumped)

(gdb) bt
#0  0x01093e18 in _debug_assert_fail (expr=0x1a0edfd "(((dest)>>29)&0x7) != 2", file=0x1a0edd4 "src/gallium/drivers/i915/i915_fpc_emit.c", line=153, 
    function=0x1a0ef40 "i915_emit_arith") at src/gallium/auxiliary/util/u_debug.c:278
#1  0x0104a6fa in i915_emit_arith (p=0x826d840, op=318767104, dest=1090593605, mask=15360, saturate=0, src0=1073741893, src1=0, src2=0)
    at src/gallium/drivers/i915/i915_fpc_emit.c:153
#2  0x0104251f in i915_translate_instruction (p=0x826d840, inst=0x8266a40, fs=0x825ca90) at src/gallium/drivers/i915/i915_fpc_translate.c:884
#3  0x010432fe in i915_translate_token (p=0x826d840, token=0x8266a40, fs=0x825ca90) at src/gallium/drivers/i915/i915_fpc_translate.c:1157
#4  0x01043372 in i915_translate_instructions (p=0x826d840, tokens=0x82598f8, fs=0x825ca90) at src/gallium/drivers/i915/i915_fpc_translate.c:1178
#5  0x0104390c in i915_translate_fragment_program (i915=0x81068c0, fs=0x825ca90) at src/gallium/drivers/i915/i915_fpc_translate.c:1340
#6  0x0103b7d6 in i915_create_fs_state (pipe=0x81068c0, templ=0x828f134) at src/gallium/drivers/i915/i915_state.c:577
#7  0x01065910 in aaline_create_fs_state (pipe=0x81068c0, fs=0x828f134) at src/gallium/auxiliary/draw/draw_pipe_aaline.c:856
#8  0x01067a2f in aapoint_create_fs_state (pipe=0x81068c0, fs=0x828f134) at src/gallium/auxiliary/draw/draw_pipe_aapoint.c:839
#9  0x018c2608 in st_translate_fragment_program (st=0x81f4488, stfp=0x827edd8, key=0xbfe38da0) at src/mesa/state_tracker/st_program.c:710
#10 0x018c2729 in st_get_fp_variant (st=0x81f4488, stfp=0x827edd8, key=0xbfe38da0) at src/mesa/state_tracker/st_program.c:747
#11 0x0196e13d in update_fp (st=0x81f4488) at src/mesa/state_tracker/st_atom_shader.c:86
#12 0x0196a43b in st_validate_state (st=0x81f4488) at src/mesa/state_tracker/st_atom.c:177
#13 0x01974eec in st_Clear (ctx=0x819e3d8, mask=2) at src/mesa/state_tracker/st_cb_clear.c:507
#14 0x018ebeb3 in _mesa_Clear (mask=16384) at src/mesa/main/clear.c:242
#15 0x08072795 in piglit_display () at piglit/tests/shaders/shader_runner.c:1084
#16 0x08074147 in display () at piglit/tests/util/piglit-framework.c:56
#17 0x007f2c1e in fghRedrawWindow (window=0x80fea28) at freeglut_main.c:210
#18 fghcbDisplayWindow (window=0x80fea28, enumerator=0xbfe390e8) at freeglut_main.c:227
#19 0x007f6590 in fgEnumWindows (enumCallback=0x7f2b20 <fghcbDisplayWindow>, enumerator=0xbfe390e8) at freeglut_structure.c:394
#20 0x007f302e in fghDisplayAll () at freeglut_main.c:249
#21 glutMainLoopEvent () at freeglut_main.c:1450
#22 0x007f3935 in glutMainLoop () at freeglut_main.c:1498
#23 0x0807487e in main (argc=2, argv=0xbfe39354) at piglit/tests/util/piglit-framework.c:294
(gdb) frame 1
#1  0x0104a6fa in i915_emit_arith (p=0x826d840, op=318767104, dest=1090593605, mask=15360, saturate=0, src0=1073741893, src1=0, src2=0)
    at src/gallium/drivers/i915/i915_fpc_emit.c:153
153	   assert(GET_UREG_TYPE(dest) != REG_TYPE_CONST);
(gdb) print /x dest
$1 = 0x41012345
Comment 1 GitLab Migration User 2019-09-18 19:30:37 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/657.


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.