vc4: Shut up runtime warnings about new pipe caps.
authorEric Anholt <eric@anholt.net>
Fri, 20 Feb 2015 07:34:37 +0000 (23:34 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 20 Feb 2015 07:35:13 +0000 (23:35 -0800)
src/gallium/drivers/vc4/vc4_screen.c

index 74643512b9cf8a36d06b1ef34abc35a77861f1be..7c628470ea8ab2fb24d6955a09faa49be3b2b513 100644 (file)
@@ -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: