From: Nicolai Hähnle Date: Sat, 10 Jun 2017 19:35:26 +0000 (+0200) Subject: mesa: add gl_constants::SpirVCapabilities X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca5cc78206b993c8d7e765ed4350a1f62a2ee5ed;p=mesa.git mesa: add gl_constants::SpirVCapabilities For drivers to declare which SPIR-V features they support. v2: Don't use a pointer (Ian Romanick) Reviewed-by: Timothy Arceri --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 08db8062ec8..9ded02500d8 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4135,6 +4135,9 @@ struct gl_constants /** Is the drivers uniform storage packed or padded to 16 bytes. */ bool PackedDriverUniformStorage; + + /** GL_ARB_gl_spirv */ + struct spirv_supported_capabilities SpirVCapabilities; };