[Mesa-dev] [PATCH] svga: add missing PIPE_SHADER_CAP_INT64_ATOMICS switch cases
Roland Scheidegger
sroland at vmware.com
Wed Sep 27 00:07:05 UTC 2017
Am 27.09.2017 um 01:03 schrieb Brian Paul:
> Silences a compiler warning.
> ---
> src/gallium/drivers/svga/svga_screen.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
> index 16e350c..4cf12c5 100644
> --- a/src/gallium/drivers/svga/svga_screen.c
> +++ b/src/gallium/drivers/svga/svga_screen.c
> @@ -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;
>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
More information about the mesa-dev
mailing list