summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-03-09 20:32:52 +0100
committerKarol Herbst <[email protected]>2019-05-04 12:27:51 +0200
commitc91ea6343f6b54d8cd3f8c72708a2425cc94d575 (patch)
treea26dcb5f76fb2e6c3769e5256867cf3c8daacb44 /src/compiler/spirv/vtn_private.h
parentc989661985dc67ed3ec31887e37e0ce455b5b381 (diff)
vtn: handle bitcast with pointer src/dest
v2: use vtn_push_ssa and vtn_ssa_value Signed-off-by: Karol Herbst <[email protected]> Reviewed-by: Jason Ekstrand <[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 0fc2bc4da7b..cfe2893e04f 100644
--- a/src/compiler/spirv/vtn_private.h
+++ b/src/compiler/spirv/vtn_private.h
@@ -777,6 +777,9 @@ nir_op vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b,
void vtn_handle_alu(struct vtn_builder *b, SpvOp opcode,
const uint32_t *w, unsigned count);
+void vtn_handle_bitcast(struct vtn_builder *b, const uint32_t *w,
+ unsigned count);
+
void vtn_handle_subgroup(struct vtn_builder *b, SpvOp opcode,
const uint32_t *w, unsigned count);