From: Ben Skeggs Date: Thu, 2 Dec 2010 22:23:44 +0000 (+1000) Subject: nv50: silence some unknown get_param warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a25cea19f25c4a01ccf7fe7bb7b75ac5f133c7a1;p=mesa.git nv50: silence some unknown get_param warnings Signed-off-by: Ben Skeggs --- diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c index 49522b74d5b..edc3d54d012 100644 --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -127,6 +127,10 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 0; case PIPE_CAP_DEPTH_CLAMP: return 1; + case PIPE_CAP_SHADER_STENCIL_EXPORT: + return 0; + case PIPE_CAP_PRIMITIVE_RESTART: + return 0; default: NOUVEAU_ERR("Unknown PIPE_CAP %d\n", param); return 0;