aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-06-05 14:48:39 +0100
committerJosé Fonseca <[email protected]>2010-06-05 14:48:39 +0100
commit9881b5c2df7f946a0f2aba13f50e44768fb1a70d (patch)
tree7a863c66547cb68d2a63ccec6bd3f3ef93f6bfe2
parent6d741627b00677d269537ad36e5f2ecd31fd98b5 (diff)
llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c2
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 2fc5d6ecff6..6432cea862d 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -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: