svga: add missing PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER* cases
authorBrian Paul <brianp@vmware.com>
Thu, 16 Nov 2017 23:35:49 +0000 (16:35 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Nov 2017 03:35:17 +0000 (20:35 -0700)
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Acked-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/svga/svga_screen.c

index 8621640c8497f4eb66eebd63eb5f4882f7192e61..ab604b989b48df986f1b72a70e0f6e6cfafd5aa0 100644 (file)
@@ -708,6 +708,8 @@ vgpu10_get_shader_param(struct pipe_screen *screen,
    case PIPE_SHADER_CAP_LOWER_IF_THRESHOLD:
    case PIPE_SHADER_CAP_TGSI_SKIP_MERGE_REGISTERS:
    case PIPE_SHADER_CAP_INT64_ATOMICS:
+   case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS:
+   case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER_BUFFERS:
       return 0;
    case PIPE_SHADER_CAP_MAX_UNROLL_ITERATIONS_HINT:
       return 32;