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:
committed by
Alejandro Piñeiro
parent
19e0dd1ad3
commit
ca5cc78206
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user