nvc0: add missed PIPE_CAP_DRAW_INDIRECT
authorIlia Mirkin <imirkin@alum.mit.edu>
Wed, 2 Jul 2014 00:05:09 +0000 (20:05 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 2 Jul 2014 00:08:36 +0000 (20:08 -0400)
Real support will be forthcoming. For now, avoid the unknown cap error
and compiler warning.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c

index ce3630338aa248203046b3d69a8d58aa7d7aaadb..36c1d54eb9b3df334ebf0ae29eabaa22a2cca235 100644 (file)
@@ -183,6 +183,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_TGSI_VS_LAYER:
    case PIPE_CAP_FAKE_SW_MSAA:
    case PIPE_CAP_TGSI_VS_WINDOW_SPACE_POSITION:
+   case PIPE_CAP_DRAW_INDIRECT:
       return 0;
    }