From 3e231361f3291307bfaa27f1bbea13fecc3b2072 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Thu, 5 Aug 2010 13:07:41 +0200 Subject: [PATCH] nvfx: shut up unknown cap 64 warning --- src/gallium/drivers/nvfx/nvfx_screen.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2