nv50: silence some unknown get_param warnings
authorBen Skeggs <bskeggs@redhat.com>
Thu, 2 Dec 2010 22:23:44 +0000 (08:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Dec 2010 22:23:44 +0000 (08:23 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
src/gallium/drivers/nv50/nv50_screen.c

index 49522b74d5b9f7c016b646f94a6ccd2751ab6df0..edc3d54d01287c57621beb92cadeec4d32d01a4a 100644 (file)
@@ -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;