All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 27055] New: r600: software fallback for readpixels
@ 2010-03-13  8:54 bugzilla-daemon
  2010-03-13  8:54 ` [Bug 27055] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-13  8:54 UTC (permalink / raw)
  To: dri-devel

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

           Summary: r600: software fallback for readpixels
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/R600
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: edwintorok@gmail.com


RADEON_DEBUG=fall has shown me this while running wine 1.1.40, glsl disabled,
orm=backbuffer:

Falling back to sw for ReadPixels (format GL_BGRA, type
GL_UNSIGNED_INT_8_8_8_8_REV)

Using latest mesa git.

glxinfo|grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV730 9498) 20090101  TCL DRI2
OpenGL version string: 2.0 Mesa 7.9-devel
OpenGL shading language version string: 1.10


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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 27055] r600: software fallback for readpixels
  2010-03-13  8:54 [Bug 27055] New: r600: software fallback for readpixels bugzilla-daemon
@ 2010-03-13  8:54 ` bugzilla-daemon
  2010-03-13 12:15 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-13  8:54 UTC (permalink / raw)
  To: dri-devel

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


Török Edwin <edwintorok@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement




-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 27055] r600: software fallback for readpixels
  2010-03-13  8:54 [Bug 27055] New: r600: software fallback for readpixels bugzilla-daemon
  2010-03-13  8:54 ` [Bug 27055] " bugzilla-daemon
@ 2010-03-13 12:15 ` bugzilla-daemon
  2010-03-13 13:11 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-13 12:15 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #1 from Török Edwin <edwintorok@gmail.com>  2010-03-13 04:15:55 PST ---
This patch appears to solve this case, and piglit doesn't complain. The switch
should probably contain more formats though.

diff --git a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c
b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c
index b180c1d..943c034 100644
--- a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c
+++ b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c
@@ -68,6 +68,12 @@ static gl_format gl_format_and_type_to_mesa_format(GLenum
format, GLenum type)
                     return MESA_FORMAT_ARGB8888_REV;
             }
             break;
+       case GL_BGRA:
+           switch (type) {
+                case GL_UNSIGNED_INT_8_8_8_8_REV:
+                    return MESA_FORMAT_ARGB8888;
+           }
+           break;
     }

     return MESA_FORMAT_NONE;


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Bug 27055] r600: software fallback for readpixels
  2010-03-13  8:54 [Bug 27055] New: r600: software fallback for readpixels bugzilla-daemon
  2010-03-13  8:54 ` [Bug 27055] " bugzilla-daemon
  2010-03-13 12:15 ` bugzilla-daemon
@ 2010-03-13 13:11 ` bugzilla-daemon
  2010-03-13 14:03 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-13 13:11 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #2 from Maciej Cencora <m.cencora@gmail.com>  2010-03-13 05:11:45 PST ---
What app are you hitting this fallback with?


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 27055] r600: software fallback for readpixels
  2010-03-13  8:54 [Bug 27055] New: r600: software fallback for readpixels bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-03-13 13:11 ` bugzilla-daemon
@ 2010-03-13 14:03 ` bugzilla-daemon
  2010-03-13 16:39 ` bugzilla-daemon
  2010-03-13 16:51 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-13 14:03 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #3 from Török Edwin <edwintorok@gmail.com>  2010-03-13 06:03:14 PST ---
(In reply to comment #2)
> What app are you hitting this fallback with?
> 

World of Warcraft running under wine 1.1.40, glsl disabled, orm=backbuffer.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 27055] r600: software fallback for readpixels
  2010-03-13  8:54 [Bug 27055] New: r600: software fallback for readpixels bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-03-13 14:03 ` bugzilla-daemon
@ 2010-03-13 16:39 ` bugzilla-daemon
  2010-03-13 16:51 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-13 16:39 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #4 from Maciej Cencora <m.cencora@gmail.com>  2010-03-13 08:39:19 PST ---
I've pushed extended version of your patch that handles also other formats.


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 27055] r600: software fallback for readpixels
  2010-03-13  8:54 [Bug 27055] New: r600: software fallback for readpixels bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-03-13 16:39 ` bugzilla-daemon
@ 2010-03-13 16:51 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-13 16:51 UTC (permalink / raw)
  To: dri-devel

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


Török Edwin <edwintorok@gmail.com> changed:

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




--- Comment #5 from Török Edwin <edwintorok@gmail.com>  2010-03-13 08:51:50 PST ---
(In reply to comment #4)
> I've pushed extended version of your patch that handles also other formats.
> 

Thanks, it works!


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-13 16:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-13  8:54 [Bug 27055] New: r600: software fallback for readpixels bugzilla-daemon
2010-03-13  8:54 ` [Bug 27055] " bugzilla-daemon
2010-03-13 12:15 ` bugzilla-daemon
2010-03-13 13:11 ` bugzilla-daemon
2010-03-13 14:03 ` bugzilla-daemon
2010-03-13 16:39 ` bugzilla-daemon
2010-03-13 16:51 ` bugzilla-daemon

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.