summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/spirv_extensions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/spirv_extensions.h')
-rw-r--r--src/mesa/main/spirv_extensions.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mesa/main/spirv_extensions.h b/src/mesa/main/spirv_extensions.h
index 35754f7e53b..6c8b8275945 100644
--- a/src/mesa/main/spirv_extensions.h
+++ b/src/mesa/main/spirv_extensions.h
@@ -35,6 +35,19 @@
extern "C" {
#endif
+enum SpvExtension {
+ SPV_KHR_16bit_storage = 0,
+ SPV_KHR_device_group,
+ SPV_KHR_multiview,
+ SPV_KHR_shader_ballot,
+ SPV_KHR_shader_draw_parameters,
+ SPV_KHR_storage_buffer_storage_class,
+ SPV_KHR_subgroup_vote,
+ SPV_KHR_variable_pointers,
+ SPV_AMD_gcn_shader,
+ SPV_EXTENSIONS_COUNT
+};
+
extern GLuint
_mesa_get_spirv_extension_count(struct gl_context *ctx);
@@ -42,6 +55,8 @@ extern const GLubyte *
_mesa_get_enabled_spirv_extension(struct gl_context *ctx,
GLuint index);
+const char *_mesa_spirv_extensions_to_string(enum SpvExtension ext);
+
#ifdef __cplusplus
}
#endif