From acb20e7208341fb6a2b81ac10aa01f17e93a1dea Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Sat, 5 Jun 2010 16:18:06 +0200 Subject: [PATCH] llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query asserts on unknown caps --- src/gallium/drivers/llvmpipe/lp_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 6432cea862d..6a4ac640156 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -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; -- 2.30.2