llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query
authorRoland Scheidegger <sroland@vmware.com>
Sat, 5 Jun 2010 14:18:06 +0000 (16:18 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 5 Jun 2010 14:54:36 +0000 (16:54 +0200)
asserts on unknown caps

src/gallium/drivers/llvmpipe/lp_screen.c

index 6432cea862d58e6983b8345cc55793d83e9a40da..6a4ac640156d280ee14fda747105c520108938c1 100644 (file)
@@ -166,6 +166,8 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
       return LP_MAX_TGSI_PREDS;
    case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
       return 1;
+   case PIPE_CAP_TEXTURE_SWIZZLE:
+      return 0;
    default:
       assert(0);
       return 0;