From: Brian Paul Date: Thu, 16 Nov 2017 23:35:49 +0000 (-0700) Subject: svga: add missing PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER* cases X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=501591e8529dc69fd650b3ba49a560c22b4cf31b;p=mesa.git svga: add missing PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER* cases Reviewed-by: Charmaine Lee Acked-by: Dave Airlie --- diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 8621640c849..ab604b989b4 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -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;