From: Ilia Mirkin Date: Wed, 2 Jul 2014 00:05:09 +0000 (-0400) Subject: nvc0: add missed PIPE_CAP_DRAW_INDIRECT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27ee7df8ad16b951d8c54a617a422797767c9242;p=mesa.git nvc0: add missed PIPE_CAP_DRAW_INDIRECT Real support will be forthcoming. For now, avoid the unknown cap error and compiler warning. Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index ce3630338aa..36c1d54eb9b 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -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; }