From: Samuel Pitoiset Date: Tue, 11 Apr 2017 11:54:44 +0000 (+0200) Subject: virgl: add missing PIPE_CAP_DOUBLES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b3375800d741bfc51d62049294f297a03d7cec76;p=mesa.git virgl: add missing PIPE_CAP_DOUBLES Fixes the following Clang warning. virgl_screen.c:60:12: warning: enumeration value 'PIPE_CAP_DOUBLES' not handled in switch [-Wswitch] switch (param) { ^ 1 warning generated. Signed-off-by: Samuel Pitoiset Reviewed-by: Brian Paul --- diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 8e0117c9890..7cd61b37598 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -260,6 +260,7 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE: case PIPE_CAP_SPARSE_BUFFER_PAGE_SIZE: case PIPE_CAP_TGSI_BALLOT: + case PIPE_CAP_DOUBLES: return 0; case PIPE_CAP_VENDOR_ID: return 0x1af4;