mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 22:00:11 +01:00
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:
parent
19e0dd1ad3
commit
ca5cc78206
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue