Mesa (master): softpipe: dont claim to support PIPE_FORMAT_NONE

Keith Whitwell keithw at kemper.freedesktop.org
Fri Dec 4 14:16:57 UTC 2009


Module: Mesa
Branch: master
Commit: 6bb415f862fec94b82915f806beb3a7427bd4bb8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6bb415f862fec94b82915f806beb3a7427bd4bb8

Author: Keith Whitwell <keithw at vmware.com>
Date:   Fri Dec  4 14:15:21 2009 +0000

softpipe: dont claim to support PIPE_FORMAT_NONE

---

 src/gallium/drivers/softpipe/sp_screen.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 6bf3df8..bd3532d 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -149,6 +149,7 @@ softpipe_is_format_supported( struct pipe_screen *screen,
    case PIPE_FORMAT_B6UG5SR5S_NORM:
    case PIPE_FORMAT_X8UB8UG8SR8S_NORM:
    case PIPE_FORMAT_A8B8G8R8_SNORM:
+   case PIPE_FORMAT_NONE:
       return FALSE;
    default:
       return TRUE;




More information about the mesa-commit mailing list