From: Brian Paul Date: Thu, 3 Jul 2014 14:25:48 +0000 (-0600) Subject: svga: add switch cases for PIPE_SHADER_CAP_DOUBLES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=986adb90573b1250ec348a210f3d315c8e48c76e;p=mesa.git svga: add switch cases for PIPE_SHADER_CAP_DOUBLES Signed-off-by: Brian Paul --- diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 35456209006..806eb9d89bd 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -349,6 +349,8 @@ static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en return 16; case PIPE_SHADER_CAP_PREFERRED_IR: return PIPE_SHADER_IR_TGSI; + case PIPE_SHADER_CAP_DOUBLES: + return 0; } /* If we get here, we failed to handle a cap above */ debug_printf("Unexpected fragment shader query %u\n", param); @@ -401,6 +403,8 @@ static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en return 0; case PIPE_SHADER_CAP_PREFERRED_IR: return PIPE_SHADER_IR_TGSI; + case PIPE_SHADER_CAP_DOUBLES: + return 0; } /* If we get here, we failed to handle a cap above */ debug_printf("Unexpected vertex shader query %u\n", param);