[Mesa-dev] [PATCH] svga: add missing PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER* cases

Dave Airlie airlied at gmail.com
Fri Nov 17 00:09:48 UTC 2017


On 17 November 2017 at 09:41, Charmaine Lee <charmainel at vmware.com> wrote:
>
> Reviewed-by: Charmaine Lee <charmainel at vmware.com>
>

Oops,

Acked-by: Dave Airlie <airlied at redhat.com>
> ________________________________________
> From: Brian Paul <brianp at vmware.com>
> Sent: Thursday, November 16, 2017 3:36:15 PM
> To: mesa-dev at lists.freedesktop.org
> Cc: Charmaine Lee; Neha Bhende
> Subject: [PATCH] svga: add missing PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER* cases
>
> ---
>  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 8621640..ab604b9 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;
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list