[Mesa-dev] [PATCH 01/11] mesa: add gl_constants::SpirVCapabilities
Alejandro Piñeiro
apinheiro at igalia.com
Thu Mar 8 08:19:30 UTC 2018
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
For drivers to declare which SPIR-V features they support.
v2: Don't use a pointer (Ian Romanick)
---
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 2df2288899d..463c2696c38 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -4152,6 +4152,9 @@ struct gl_constants
/** GL_ARB_get_program_binary */
GLuint NumProgramBinaryFormats;
+
+ /** GL_ARB_gl_spirv */
+ struct spirv_supported_capabilities SpirVCapabilities;
};
--
2.14.1
More information about the mesa-dev
mailing list