All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 44297] New: [i915g] 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.
Date: Fri, 30 Dec 2011 01:04:06 +0000	[thread overview]
Message-ID: <bug-44297-502@http.bugs.freedesktop.org/> (raw)

https://bugs.freedesktop.org/show_bug.cgi?id=44297

             Bug #: 44297
           Summary: [i915g]
                    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.
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Gallium/i915g
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: vlee@vmware.com


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)));

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

             reply	other threads:[~2011-12-30  1:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-30  1:04 bugzilla-daemon [this message]
2011-12-30  9:32 ` [Bug 44297] [i915g] 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 bugzilla-daemon
2011-12-30 22:14 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-44297-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.