summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-02-20 08:09:36 -0700
committerBrian Paul <brianp@vmware.com>2015-02-20 08:09:40 -0700
commit71b155a2cb10037584462f4f182f017a9898e810 (patch)
treeff94fbc41b667eccd4cd238db66a357c098a1e4c /src
parent7692704b144b2aa9a57767a43212ceb5aad6638a (diff)
downloadexternal_mesa3d-71b155a2cb10037584462f4f182f017a9898e810.zip
external_mesa3d-71b155a2cb10037584462f4f182f017a9898e810.tar.gz
external_mesa3d-71b155a2cb10037584462f4f182f017a9898e810.tar.bz2
svga: add missing _DROUND,DFRACEXP_DLDEXP_SUPPORTED switch cases
To silence unhandled switch case warnings.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/svga/svga_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index c2fb93c..bac0dbc 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 */