summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.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/spirv/vtn_private.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/spirv/vtn_private.h')
-rw-r--r--src/compiler/spirv/vtn_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h
index 316def08027..a8fa612384f 100644
--- a/src/compiler/spirv/vtn_private.h
+++ b/src/compiler/spirv/vtn_private.h
@@ -732,4 +732,7 @@ vtn_u64_literal(const uint32_t *w)
return (uint64_t)w[1] << 32 | w[0];
}
+bool vtn_handle_amd_gcn_shader_instruction(struct vtn_builder *b, uint32_t ext_opcode,
+ const uint32_t *words, unsigned count);
+
#endif /* _VTN_PRIVATE_H_ */