dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 48131] Very large 2D texture is sometimes corrupted
Date: Wed, 08 Aug 2012 18:03:21 +0000	[thread overview]
Message-ID: <bug-48131-502-5OIPBXqCXb@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-48131-502@http.bugs.freedesktop.org/>

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

Andreas Boll <andreas.boll.dev@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #6 from Andreas Boll <andreas.boll.dev@gmail.com> 2012-08-08 18:03:21 UTC ---
(In reply to comment #0)
> This WebGL testcase just creates a huge blank texture and draws a quad with it:
> 
> http://people.mozilla.org/~bjacob/webgltexture2D5k.html
> 
> You should see only black. But here I occasionally see some corruption with
> vertical yellow stripes on a rectangular part of the image. Reloading the page
> a few times makes the problem go away.
> 
> The testcase uses webgl.texImage2D with null pixel data, which causes the
> browser to calloc() a buffer and pass it to glTexImage2D. So it's not just an
> uninitialized texture. The application is doing what's right to properly
> initialize the texture with zero'd image data.
> 
> If there is any risk that this might be exposing uninitialized texture memory,
> then please treat this as a high priority, as we'd have to find a work around.
> 
> FWIW, on a different proprietary platform, this does expose video memory and
> forced us to artificially limit the max texture size to 4k.

With current firefox nightly 20120808
and current mesa 8.1-devel (git-be42a45) this site works for me.
I see only black.

WebGL Renderer: X.Org -- Gallium 0.4 on AMD RV770 -- 2.1 Mesa 8.1-devel
(git-be42a45)

Feel free to reopen this report if the issue persists.

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

      parent reply	other threads:[~2012-08-08 18:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31 19:40 [Bug 48131] New: Very large 2D texture is sometimes corrupted bugzilla-daemon
2012-03-31 19:40 ` [Bug 48131] " bugzilla-daemon
2012-04-01 13:00 ` bugzilla-daemon
2012-04-02 20:40 ` bugzilla-daemon
2012-04-02 21:35 ` bugzilla-daemon
2012-04-02 22:32 ` bugzilla-daemon
2012-04-02 22:42 ` bugzilla-daemon
2012-08-08 18:03 ` bugzilla-daemon [this message]

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-48131-502-5OIPBXqCXb@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