svga: add missing PIPE_SHADER_CAP_INT64_ATOMICS switch cases
authorBrian Paul <brianp@vmware.com>
Tue, 26 Sep 2017 15:57:02 +0000 (09:57 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 28 Sep 2017 16:41:33 +0000 (10:41 -0600)
Silences a compiler warning.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/svga/svga_screen.c

index 2e31e8dfe93bbb93f7f37f4252f3542f8735d648..9209974d28d083d24ffe5550d04b1c72c777e1c2 100644 (file)
@@ -583,6 +583,7 @@ vgpu9_get_shader_param(struct pipe_screen *screen,
          return 1;
       case PIPE_SHADER_CAP_SUBROUTINES:
          return 0;
+      case PIPE_SHADER_CAP_INT64_ATOMICS:
       case PIPE_SHADER_CAP_INTEGERS:
          return 0;
       case PIPE_SHADER_CAP_FP16:
@@ -699,6 +700,7 @@ vgpu10_get_shader_param(struct pipe_screen *screen,
    case PIPE_SHADER_CAP_MAX_SHADER_IMAGES:
    case PIPE_SHADER_CAP_LOWER_IF_THRESHOLD:
    case PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS:
+   case PIPE_SHADER_CAP_INT64_ATOMICS:
       return 0;
    case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT:
       return 32;