Mesa (master): r300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.

Corbin Simpson csimpson at kemper.freedesktop.org
Thu Jul 23 14:20:02 UTC 2009


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

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Thu Jul 23 01:04:26 2009 -0700

r300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.

---

 src/gallium/drivers/r300/r300_screen.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index da1d5ff..258e4ac 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -147,6 +147,8 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
         case PIPE_CAP_TGSI_CONT_SUPPORTED:
             /* XXX */
             return 0;
+        case PIPE_CAP_BLEND_EQUATION_SEPARATE:
+            return 1;
         default:
             debug_printf("r300: Implementation error: Bad param %d\n",
                 param);




More information about the mesa-commit mailing list