diff options
author | Roland Scheidegger <[email protected]> | 2010-06-05 16:18:06 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-06-05 16:54:36 +0200 |
commit | acb20e7208341fb6a2b81ac10aa01f17e93a1dea (patch) | |
tree | 352ac28761f70ef13389a824569dc3b5b37c67b5 /src/gallium/drivers/llvmpipe | |
parent | 9881b5c2df7f946a0f2aba13f50e44768fb1a70d (diff) |
llvmpipe: handle PIPE_CAP_TEXTURE_SWIZZLE query
asserts on unknown caps
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | 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 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; |