summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
authorDaniel Schürmann <[email protected]>2018-02-23 13:54:59 +0100
committerBas Nieuwenhuizen <[email protected]>2018-03-07 23:09:58 +0100
commit68a6a3b51acc0f8ad54f47ff10e30141697d404c (patch)
tree1c1fc87dd4d7377a6bd11cf7d19f1c118dc65f85 /src/compiler/shader_info.h
parenta1a2a8dfda7b9cac7e36bf8853d984a6009fc27e (diff)
spirv: handle AMD_gcn_shader extended instructions
Co-authored-by: Dave Airlie <[email protected]> Signed-off-by: Daniel Schürmann <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r--src/compiler/shader_info.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index 4cbe461d381..b1e200070f7 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -53,6 +53,11 @@ struct spirv_supported_capabilities {
bool subgroup_vote;
};
+/* The supported extensions which add extended instructions */
+struct spirv_supported_extensions {
+ bool AMD_gcn_shader;
+};
+
typedef struct shader_info {
const char *name;