summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-10 21:35:26 +0200
committerAlejandro Piñeiro <[email protected]>2018-03-30 09:14:56 +0200
commitca5cc78206b993c8d7e765ed4350a1f62a2ee5ed (patch)
tree96897d76f6fb7ce7e28453a6aaaa6eec96da2913 /src
parent19e0dd1ad3ad43ddc3aeba1e11852dce3f55d1f1 (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/mtypes.h3
1 files changed, 3 insertions, 0 deletions
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;
};