From: Luca Barbieri Date: Thu, 5 Aug 2010 11:07:41 +0000 (+0200) Subject: nvfx: shut up unknown cap 64 warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e231361f3291307bfaa27f1bbea13fecc3b2072;p=mesa.git nvfx: shut up unknown cap 64 warning --- 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;