nouveau: Silence unhandled cap warnings
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Feb 2019 23:57:19 +0000 (15:57 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 9 Feb 2019 00:26:00 +0000 (16:26 -0800)
commit55e00a2ea8bb21ea0a3b1970bb112e4f44141f10
tree33304b272fb6501515ddbda0d09bf84bc4426545
parentee670d09afdbcbcc6ffec1847169ffaecfeff64b
nouveau: Silence unhandled cap warnings

Nouveau apparently uses the u_screen helper but prints a warning in the
default case, so running any GL program would start grumbling.

Fixes: 8fa54bc5490 gallium: Add a PIPE_CAP_NIR_COMPACT_ARRAYS capability bit.
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c