llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.
authorJosé Fonseca <jfonseca@vmware.com>
Sat, 5 Jun 2010 13:48:39 +0000 (14:48 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 5 Jun 2010 13:48:39 +0000 (14:48 +0100)
src/gallium/drivers/llvmpipe/lp_screen.c

index 2fc5d6ecff6ed9779759e2b595a98289d751d670..6432cea862d58e6983b8345cc55793d83e9a40da 100644 (file)
@@ -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: