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:
3662afd
)
nouveau/nvfx: Add new PIPE_CAP values
author
Patrice Mandin
<patmandin@gmail.com>
Wed, 21 Jul 2010 17:28:45 +0000
(19:28 +0200)
committer
Patrice Mandin
<patmandin@gmail.com>
Wed, 21 Jul 2010 17:28:45 +0000
(19:28 +0200)
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
src/gallium/drivers/nvfx/nvfx_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_screen.c
b/src/gallium/drivers/nvfx/nvfx_screen.c
index
a78d241
..
80db28a
100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/
src/gallium/drivers/nvfx/nvfx_screen.c
@@
-56,6
+56,8
@@
nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return 0;
case PIPE_CAP_TEXTURE_SHADOW_MAP:
return 1;
+ case PIPE_CAP_TEXTURE_SWIZZLE:
+ return 1;
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
return 13;
case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
@@
-127,6
+129,8
@@
nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return 2;
case PIPE_CAP_MAX_VS_PREDS:
return screen->is_nv4x ? 1 : 0;
+ case PIPE_CAP_GEOMETRY_SHADER4:
+ return 0;
default:
NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
return 0;