All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.sourceforge.net
Subject: [Bug 26123] New: Rendering to offscreen depth-texture fails
Date: Tue, 19 Jan 2010 15:20:05 -0800 (PST)	[thread overview]
Message-ID: <bug-26123-502@http.bugs.freedesktop.org/> (raw)

http://bugs.freedesktop.org/show_bug.cgi?id=26123

           Summary: Rendering to offscreen depth-texture fails
           Product: Mesa
           Version: git
          Platform: Other
               URL: http://fabiensanglard.net/shadowmapping/index.php
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/R600
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: pavel@rojtberg.net


driver: r300g, latest git on ubuntu lucid. (Kernel 2.6.32)

when executing the linked demo, the shadowmap is being misrendered and on the
console there is a lot of vomit in the style of:

Pkt3 at 306 :
    PACKET3_3D_LOAD_VBPNTR:
        0x00000001
        0x00000603
        0x000004B0
Pkt3 at 310 :
    PACKET3_NOP:
        0x00000004
Pkt0 at 312 (1 dwords):
    0x0003AAAA -> 0x4278
Pkt0 at 314 (1 dwords):
    0x00000000 -> 0x2138
Pkt0 at 316 (1 dwords):
    0x00000017 -> 0x2134
Pkt3 at 318 :
    PACKET3_3D_DRAW_VBUF_2:
        0x0018002D
...

If I change the code and add a COLOR_ATTACHMENT texture to the FBO the vomit
goes away, but the shadowmap is still misrendered.


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

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--

             reply	other threads:[~2010-01-19 23:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 23:20 bugzilla-daemon [this message]
2010-01-19 23:30 ` [Bug 26123] Rendering to offscreen depth-texture fails bugzilla-daemon
2010-03-19 23:36 ` bugzilla-daemon
2010-03-20 11:08 ` bugzilla-daemon
2010-03-20 11:09 ` bugzilla-daemon
2010-03-26 13:12 ` bugzilla-daemon
2010-04-12  2:55 ` 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-26123-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.sourceforge.net \
    /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.