[Mesa-dev] [PATCH 01/11] mesa: add gl_constants::SpirVCapabilities

Timothy Arceri tarceri at itsqueeze.com
Fri Mar 16 10:30:12 UTC 2018


Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>


On 08/03/18 19:19, Alejandro Piñeiro wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> For drivers to declare which SPIR-V features they support.
>
> v2: Don't use a pointer (Ian Romanick)
> ---
>   src/mesa/main/mtypes.h | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
> index 2df2288899d..463c2696c38 100644
> --- a/src/mesa/main/mtypes.h
> +++ b/src/mesa/main/mtypes.h
> @@ -4152,6 +4152,9 @@ struct gl_constants
>   
>      /** GL_ARB_get_program_binary */
>      GLuint NumProgramBinaryFormats;
> +
> +   /** GL_ARB_gl_spirv */
> +   struct spirv_supported_capabilities SpirVCapabilities;
>   };
>   
>   



More information about the mesa-dev mailing list