Mesa (master): llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sat Jun 5 06:48:53 PDT 2010


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

Author: José Fonseca <jfonseca at vmware.com>
Date:   Sat Jun  5 14:48:39 2010 +0100

llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.

---

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

diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index 2fc5d6e..6432cea 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -113,6 +113,8 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
       return 1;
    case PIPE_CAP_TEXTURE_SHADOW_MAP:
       return 1;
+   case PIPE_CAP_TEXTURE_SWIZZLE:
+      return 1;
    case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
       return LP_MAX_TEXTURE_2D_LEVELS;
    case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:



More information about the mesa-commit mailing list