svga: add switch cases for PIPE_SHADER_CAP_DOUBLES
authorBrian Paul <brianp@vmware.com>
Thu, 3 Jul 2014 14:25:48 +0000 (08:25 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Jul 2014 14:25:50 +0000 (08:25 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_screen.c

index 354562090060d6a9f5e3915334201e5d87e521de..806eb9d89bd30977e687ee7996b0723644d6d8df 100644 (file)
@@ -349,6 +349,8 @@ static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en
          return 16;
       case PIPE_SHADER_CAP_PREFERRED_IR:
          return PIPE_SHADER_IR_TGSI;
+      case PIPE_SHADER_CAP_DOUBLES:
+         return 0;
       }
       /* If we get here, we failed to handle a cap above */
       debug_printf("Unexpected fragment shader query %u\n", param);
@@ -401,6 +403,8 @@ static int svga_get_shader_param(struct pipe_screen *screen, unsigned shader, en
          return 0;
       case PIPE_SHADER_CAP_PREFERRED_IR:
          return PIPE_SHADER_IR_TGSI;
+      case PIPE_SHADER_CAP_DOUBLES:
+         return 0;
       }
       /* If we get here, we failed to handle a cap above */
       debug_printf("Unexpected vertex shader query %u\n", param);