Mesa (master): r600g: handle PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL in get_param

Marek Olšák mareko at kemper.freedesktop.org
Mon Apr 11 05:48:05 PDT 2011


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Apr 11 14:37:58 2011 +0200

r600g: handle PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL in get_param

---

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

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 2c2245b..5f95540 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -385,6 +385,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
 	case PIPE_CAP_STREAM_OUTPUT:
 	case PIPE_CAP_PRIMITIVE_RESTART:
 	case PIPE_CAP_INDEP_BLEND_FUNC: /* FIXME allow this */
+	case PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL:
 		/* R600 doesn't support per-MRT blends */
 		if (family == CHIP_R600)
 			return 0;



More information about the mesa-commit mailing list