From 96f6efc561dff8a6a1d57c784239b7cb8ecf1d3e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 19 Feb 2015 23:34:37 -0800 Subject: [PATCH] vc4: Shut up runtime warnings about new pipe caps. --- src/gallium/drivers/vc4/vc4_screen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index 74643512b9c..7c628470ea8 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -317,6 +317,8 @@ vc4_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, case PIPE_SHADER_CAP_INTEGERS: return 1; case PIPE_SHADER_CAP_DOUBLES: + case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED: + case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED: return 0; case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: case PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS: -- 2.30.2