summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-05 13:07:41 +0200
committerLuca Barbieri <[email protected]>2010-08-06 01:28:14 +0200
commit3e231361f3291307bfaa27f1bbea13fecc3b2072 (patch)
treedba21d399f7f430f59428ffc1a08a03a33287618
parent0a7cbe845fe029411ae25c4bfe60763485a760f4 (diff)
nvfx: shut up unknown cap 64 warning
-rw-r--r--src/gallium/drivers/nvfx/nvfx_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_screen.c b/src/gallium/drivers/nvfx/nvfx_screen.c
index 80db28a07cb..f2525ccb38f 100644
--- 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;