Mesa (master): mesa: add gl_constants::SpirVCapabilities
Alejandro Pinheiro
apinheiro at kemper.freedesktop.org
Fri Mar 30 10:30:46 UTC 2018
Module: Mesa
Branch: master
Commit: ca5cc78206b993c8d7e765ed4350a1f62a2ee5ed
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca5cc78206b993c8d7e765ed4350a1f62a2ee5ed
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Sat Jun 10 21:35:26 2017 +0200
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 at itsqueeze.com>
---
src/mesa/main/mtypes.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 08db8062ec..9ded02500d 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;
};
More information about the mesa-commit
mailing list