nvfx: shut up unknown cap 64 warning
authorLuca Barbieri <luca@luca-barbieri.com>
Thu, 5 Aug 2010 11:07:41 +0000 (13:07 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Thu, 5 Aug 2010 23:28:14 +0000 (01:28 +0200)
src/gallium/drivers/nvfx/nvfx_screen.c

index 80db28a07cb27dbfc6de21c32f2833b35371e1ce..f2525ccb38fbce2abed6f7f91241360f7ed970c1 100644 (file)
@@ -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;