aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/nir_spirv.h
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2017-12-07 09:38:41 +0100
committerAlejandro Piñeiro <[email protected]>2017-12-07 17:15:11 +0100
commit25e56b2ebafe2bcebb23819cc355e1b079a839d6 (patch)
tree6f71e869fe0a7abc55e12691cfc8c03edbe5fa19 /src/compiler/spirv/nir_spirv.h
parentb2490a326c28652b85400da0e1bbff108167d140 (diff)
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 <[email protected]>
Diffstat (limited to 'src/compiler/spirv/nir_spirv.h')
-rw-r--r--src/compiler/spirv/nir_spirv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/spirv/nir_spirv.h b/src/compiler/spirv/nir_spirv.h
index 113bd710a00..a2c40e57d18 100644
--- a/src/compiler/spirv/nir_spirv.h
+++ b/src/compiler/spirv/nir_spirv.h
@@ -29,7 +29,7 @@
#define _NIR_SPIRV_H_
#include "compiler/nir/nir.h"
-#include "main/mtypes.h"
+#include "compiler/shader_info.h"
#ifdef __cplusplus
extern "C" {
@@ -58,7 +58,7 @@ struct spirv_to_nir_options {
*/
bool lower_workgroup_access_to_offsets;
- struct nir_spirv_supported_capabilities caps;
+ struct spirv_supported_capabilities caps;
struct {
void (*func)(void *private_data,