[Mesa-dev] [PATCH 4/8] mesa/program: add hw atomic counter file

Marek Olšák maraeo at gmail.com
Tue Nov 7 15:49:55 UTC 2017


For patches 1 - 4:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, Nov 7, 2017 at 7:31 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> This is needed for the GLSL->TGSI translation for hw atomic counters.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/mesa/main/mtypes.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index 2acf64e..60f06aa 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -2059,6 +2059,7 @@ typedef enum
>     PROGRAM_BUFFER,      /**< for shader buffers, compile-time only */
>     PROGRAM_MEMORY,      /**< for shared, global and local memory */
>     PROGRAM_IMAGE,       /**< for shader images, compile-time only */
> +   PROGRAM_HW_ATOMIC,   /**< for hw atomic counters, compile-time only */
>     PROGRAM_FILE_MAX
>  } gl_register_file;
>
> --
> 2.9.5
>
> _______________________________________________
> 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