nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORT
authorLucas Stach <dev@lynxeye.de>
Wed, 10 Nov 2010 22:10:25 +0000 (23:10 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 11 Nov 2010 13:55:46 +0000 (14:55 +0100)
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/drivers/nvfx/nvfx_screen.c

index 8024800bd09dc29d8ca464856d7e323e8876aeeb..3949cdaef9a04b67d87b34b396cb17fd193d62ba 100644 (file)
@@ -77,6 +77,10 @@ nvfx_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
                return 1;
        case PIPE_CAP_DEPTH_CLAMP:
                return 0; // TODO: implement depth clamp
+       case PIPE_CAP_PRIMITIVE_RESTART:
+               return 0; // TODO: implement primitive restart
+       case PIPE_CAP_SHADER_STENCIL_EXPORT:
+               return 0;
        default:
                NOUVEAU_ERR("Warning: unknown PIPE_CAP %d\n", param);
                return 0;