Mesa (master): llvmpipe: Enable vertex color clamping.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Nov 28 19:14:55 UTC 2012
Module: Mesa
Branch: master
Commit: 66fdf626bb4a970e5a972f24faf6e69eda67e31d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66fdf626bb4a970e5a972f24faf6e69eda67e31d
Author: James Benton <jbenton at vmware.com>
Date: Thu Sep 13 16:05:08 2012 +0100
llvmpipe: Enable vertex color clamping.
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
---
src/gallium/drivers/llvmpipe/lp_screen.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 5ff8024..74b7b99 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -193,7 +193,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 0;
case PIPE_CAP_VERTEX_COLOR_UNCLAMPED:
case PIPE_CAP_VERTEX_COLOR_CLAMPED:
- return 0;
+ return 1;
case PIPE_CAP_GLSL_FEATURE_LEVEL:
return 120;
case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
More information about the mesa-commit
mailing list