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 <tarceri@itsqueeze.com>
This commit is contained in:
Nicolai Hähnle 2017-06-10 21:35:26 +02:00 committed by Alejandro Piñeiro
parent 19e0dd1ad3
commit ca5cc78206

View file

@ -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;
};