Mesa (master): softpipe: add PIPE_BUFFER to assertion
Brian Paul
brianp at kemper.freedesktop.org
Fri May 28 19:31:57 UTC 2010
Module: Mesa
Branch: master
Commit: f57edc58b52605ed3c98f8af91412e3302bbf444
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f57edc58b52605ed3c98f8af91412e3302bbf444
Author: Brian Paul <brianp at vmware.com>
Date: Fri May 28 13:30:21 2010 -0600
softpipe: add PIPE_BUFFER to assertion
Fixes regression from commit f2e05acac931889e0820e1cc5d7ea810048a6b5f.
---
src/gallium/drivers/softpipe/sp_screen.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 73987c9..bad5702 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -187,7 +187,8 @@ softpipe_is_format_supported( struct pipe_screen *screen,
struct sw_winsys *winsys = softpipe_screen(screen)->winsys;
const struct util_format_description *format_desc;
- assert(target == PIPE_TEXTURE_1D ||
+ assert(target == PIPE_BUFFER ||
+ target == PIPE_TEXTURE_1D ||
target == PIPE_TEXTURE_2D ||
target == PIPE_TEXTURE_3D ||
target == PIPE_TEXTURE_CUBE);
More information about the mesa-commit
mailing list