projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7cbe8
)
nvfx: shut up unknown cap 64 warning
author
Luca Barbieri
<luca@luca-barbieri.com>
Thu, 5 Aug 2010 11:07:41 +0000
(13:07 +0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Thu, 5 Aug 2010 23:28:14 +0000
(
01:28
+0200)
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 80db28a07cb27dbfc6de21c32f2833b35371e1ce..f2525ccb38fbce2abed6f7f91241360f7ed970c1 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_screen.c
+++ b/
src/gallium/drivers/nvfx/nvfx_screen.c
@@
-131,6
+131,8
@@
nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return screen->is_nv4x ? 1 : 0;
case PIPE_CAP_GEOMETRY_SHADER4:
return 0;
+ case PIPE_CAP_DEPTH_CLAMP:
+ return 0; // TODO: implement depth clamp
default:
NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param);
return 0;