From 25e56b2ebafe2bcebb23819cc355e1b079a839d6 Mon Sep 17 00:00:00 2001 From: Alejandro PiƱeiro Date: Thu, 7 Dec 2017 09:38:41 +0100 Subject: mesa/spirv: move and rename nir_spirv_supported_capabilities To avoid any vulkan driver to include the GL mtypes.h. Renamed as eventually this could be used by drivers not using nir. v2: remove compiler/spirv/spirv.h from mtypes (Alejandro) v3: added the definition at compiler/shader_info.h (Jason Ekstrand) Reviewed-by: Jason Ekstrand --- src/compiler/shader_info.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/compiler/shader_info.h') diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index bcb3f0fffac..c9140ba9752 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -31,6 +31,19 @@ extern "C" { #endif +struct spirv_supported_capabilities { + bool float64; + bool image_ms_array; + bool tessellation; + bool draw_parameters; + bool image_read_without_format; + bool image_write_without_format; + bool int64; + bool multiview; + bool variable_pointers; + bool storage_16bit; +}; + typedef struct shader_info { const char *name; -- cgit v1.2.3