All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 40213] New: src/mesa/state_tracker/st_glsl_to_tgsi.cpp:3176:copy_propagate: Assertion `inst->dst.file != PROGRAM_TEMPORARY || inst->dst.index < this->next_temp' failed.
Date: Thu, 18 Aug 2011 16:46:58 -0700 (PDT)	[thread overview]
Message-ID: <bug-40213-502@http.bugs.freedesktop.org/> (raw)

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

           Summary: src/mesa/state_tracker/st_glsl_to_tgsi.cpp:3176:copy_p
                    ropagate: Assertion `inst->dst.file !=
                    PROGRAM_TEMPORARY || inst->dst.index <
                    this->next_temp' failed.
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: vlee@vmware.com


System environment:
-- chipset: ATI RV530
-- system architecture: i686
-- libdrm-dev: 2.4.26-1ubuntu1
-- mesa: ccecc08f79afc020c8c0acface04a8e53e3a7c32 (master)
-- kernel version: 3.0.0-8-generic
-- Linux distribution: Ubuntu 11.10 i386

Run piglit glsl-vs-varying-array test.

$ ./bin/shader_runner -auto tests/shaders/glsl-vs-varying-array.shader_test
r300: DRM version: 2.10.0, Name: ATI RV530, ID: 0x71c5, GB: 1, Z: 2
r300: GART size: 509 MB, VRAM size: 128 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: YES
src/mesa/state_tracker/st_glsl_to_tgsi.cpp:3176:copy_propagate: Assertion
`inst->dst.file != PROGRAM_TEMPORARY || inst->dst.index < this->next_temp'
failed.

(gdb) bt
#0  0x011be647 in _debug_assert_fail (
    expr=0x1c3ff34 "inst->dst.file != PROGRAM_TEMPORARY || inst->dst.index <
this->next_temp", file=0x1c3f364 "src/mesa/state_tracker/st_glsl_to_tgsi.cpp", 
    line=3176, function=0x1c40730 "copy_propagate")
    at src/gallium/auxiliary/util/u_debug.c:282
#1  0x01aa9749 in glsl_to_tgsi_visitor::copy_propagate (this=0x842f140)
    at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:3175
#2  0x01aae803 in get_mesa_program (ctx=0x8285980, shader_program=0x8497068, 
    shader=0x84b8088) at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4733
#3  0x01aaee49 in st_link_shader (ctx=0x8285980, prog=0x8497068)
    at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4891
#4  0x019bb101 in _mesa_glsl_link_shader (ctx=0x8285980, prog=0x8497068)
    at src/mesa/program/ir_to_mesa.cpp:3423
#5  0x0198307c in link_program (ctx=0x8285980, program=3)
    at src/mesa/main/shaderapi.c:877
#6  0x0198459c in _mesa_LinkProgramARB (programObj=3)
    at src/mesa/main/shaderapi.c:1461
#7  0x0806bea4 in link_and_use_shaders ()
#8  0x0806dfde in piglit_init ()
#9  0x0806ec71 in main ()
(gdb) frame 1
#1  0x01aa9749 in glsl_to_tgsi_visitor::copy_propagate (this=0x842f140)
    at src/mesa/state_tracker/st_glsl_to_tgsi.cpp:3175
3175          assert(inst->dst.file != PROGRAM_TEMPORARY
(gdb) l
3170       int level = 0;
3171    
3172       foreach_iter(exec_list_iterator, iter, this->instructions) {
3173          glsl_to_tgsi_instruction *inst = (glsl_to_tgsi_instruction
*)iter.get();
3174    
3175          assert(inst->dst.file != PROGRAM_TEMPORARY
3176                 || inst->dst.index < this->next_temp);
3177    
3178          /* First, do any copy propagation possible into the src regs. */
3179          for (int r = 0; r < 3; r++) {
(gdb) print inst->dst.file
$1 = PROGRAM_TEMPORARY
(gdb) print inst->dst.index
$2 = 3
(gdb) print this->next_temp
$3 = 3

-- 
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-08-18 23:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-18 23:46 bugzilla-daemon [this message]
2011-08-19  2:57 ` [Bug 40213] [r300g] src/mesa/state_tracker/st_glsl_to_tgsi.cpp:3176:copy_propagate: Assertion `inst->dst.file != PROGRAM_TEMPORARY || inst->dst.index < this->next_temp' failed bugzilla-daemon
2012-12-08 22:51 ` bugzilla-daemon
2013-01-11 21:26 ` 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-40213-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.