Mesa (floating): llvmpipe: don't assert on new unclamped color caps
Luca Barbieri
lb at kemper.freedesktop.org
Fri Aug 27 17:26:50 UTC 2010
Module: Mesa
Branch: floating
Commit: 229571a0a7a27b86a396a4044fe779840b4add0e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=229571a0a7a27b86a396a4044fe779840b4add0e
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Thu Aug 26 18:28:36 2010 +0200
llvmpipe: don't assert on new unclamped color caps
---
src/gallium/drivers/llvmpipe/lp_screen.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index bb94276..aba27af 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -173,6 +173,9 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 1;
case PIPE_CAP_DEPTH_CLAMP:
return 0;
+ case PIPE_CAP_UNCLAMPED_FRAGMENT_COLOR:
+ case PIPE_CAP_UNCLAMPED_VERTEX_COLOR:
+ return 0;
default:
assert(0);
return 0;
More information about the mesa-commit
mailing list