From: Roland Scheidegger Date: Sat, 5 Jun 2010 14:18:06 +0000 (+0200) Subject: llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acb20e7208341fb6a2b81ac10aa01f17e93a1dea;p=mesa.git llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query asserts on unknown caps --- 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;