From: Eric Anholt Date: Fri, 20 Feb 2015 07:34:37 +0000 (-0800) Subject: vc4: Shut up runtime warnings about new pipe caps. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f6efc561dff8a6a1d57c784239b7cb8ecf1d3e;p=mesa.git vc4: Shut up runtime warnings about new pipe caps. --- 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: