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-Tag: upstream/10.3~1150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=986adb90573b1250ec348a210f3d315c8e48c76e;p=platform%2Fupstream%2Fmesa.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 3545620..806eb9d 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);