OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d74162
)
llvmpipe: Expose PIPE_CAP_TEXTURE_SWIZZLE.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 5 Jun 2010 13:48:39 +0000
(14:48 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 5 Jun 2010 13:48:39 +0000
(14:48 +0100)
src/gallium/drivers/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index
2fc5d6e
..
6432cea
100644
(file)
--- 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: