From 71b155a2cb10037584462f4f182f017a9898e810 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 20 Feb 2015 08:09:36 -0700 Subject: svga: add missing _DROUND,DFRACEXP_DLDEXP_SUPPORTED switch cases To silence unhandled switch case warnings. --- src/gallium/drivers/svga/svga_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium') diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index c2fb93c7d5b..bac0dbcdff9 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -429,6 +429,8 @@ static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en case PIPE_SHADER_CAP_PREFERRED_IR: return PIPE_SHADER_IR_TGSI; case PIPE_SHADER_CAP_DOUBLES: + case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED: + case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED: return 0; } /* If we get here, we failed to handle a cap above */ -- cgit v1.2.3