add X8Z24 <> MESA_S8Z24 conversion

View: New views
3 Messages — Rating Filter:   Alert me  

add X8Z24 <> MESA_S8Z24 conversion

by Bugzilla from d.okias@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Add conversion from PIPE_FORMAT_X8Z24_UNORM to MESA_FORMAT_S8_Z24.

Fix glxgears and openarena for Nouveau (no more asserts and crash).

Signed-off-by: David Heidelberger <d.okias@...
---

--- a/st_format.c 2009-10-29 15:39:21.778200092 +0100
+++ b/st_format.c 2009-10-29 16:14:17.146199519 +0100
@@ -307,6 +307,7 @@
       return MESA_FORMAT_Z32;
    case PIPE_FORMAT_Z24S8_UNORM:
       return MESA_FORMAT_Z24_S8;
+   case PIPE_FORMAT_X8Z24_UNORM:
    case PIPE_FORMAT_S8Z24_UNORM:
       return MESA_FORMAT_S8_Z24;
    case PIPE_FORMAT_S8_UNORM:
@@ -718,6 +719,7 @@
       return MESA_FORMAT_Z32;
    case PIPE_FORMAT_Z24S8_UNORM:
       return MESA_FORMAT_Z24_S8;
+   case PIPE_FORMAT_X8Z24_UNORM:
    case PIPE_FORMAT_S8Z24_UNORM:
       return MESA_FORMAT_S8_Z24;
    case PIPE_FORMAT_YCBCR:

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@...
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Re: add X8Z24 <> MESA_S8Z24 conversion

by Brian Paul-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks good.  Committed.  Thanks!

-Brian

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@...
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Parent Message unknown Re: add X8Z24 <> MESA_S8Z24 conversion

by Brian Paul-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

okias wrote:
> Sorry, that patch was probably not correct, here is fixed patch.

Committed.  Thanks.

-Brian


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@...
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev