dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 37261] New: Norsetto shadow mapping doesn't render correctly
Date: Mon, 16 May 2011 08:46:40 -0700 (PDT)	[thread overview]
Message-ID: <bug-37261-502@http.bugs.freedesktop.org/> (raw)

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

           Summary: Norsetto shadow mapping doesn't render correctly
           Product: Mesa
           Version: git
          Platform: Other
               URL: http://norsetto.site11.com/?db_select=shadow&page_id=9
                    7
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: sa@whiz.se


Created an attachment (id=46775)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46775)
Screenshot of bug

The shadow mapping demo from norsetto doesn't render correctly with r600g, none
of the objects are textured and the shadows are missing. Rendering on llvmpipe
seems to be correct.

The demo requires a simple change for the shaders to compile:

--- data/shaders/bumpTBN_SH_FP.glsl.orig    2011-05-16 17:41:49.098224141 +0200
+++ data/shaders/bumpTBN_SH_FP.glsl    2011-05-16 17:41:57.978477020 +0200
@@ -46,7 +46,7 @@ void main()

     offset.y += offset.x;
     if ( offset.y > 1.1)
-        offset.y = 0;
+        offset.y = 0.0;

     vec4 shadow = (    offset_lookup( shadowMap, gl_TexCoord[1],
offset+vec2(-1.5,  0.5) ) +
             offset_lookup( shadowMap, gl_TexCoord[1], offset+vec2( 0.5,  0.5)
) +


System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.1
-- xserver: 1.10.1
-- mesa: git-c9aa3bb
-- drm: 2.4.25
-- kernel: 2.6.39-rc7

-- 
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-05-16 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-16 15:46 bugzilla-daemon [this message]
2011-06-11 16:26 ` [Bug 37261] Norsetto shadow mapping doesn't render correctly bugzilla-daemon
2011-06-15 12:18 ` 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-37261-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).