summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-12-14 18:36:01 -0600
committerJason Ekstrand <[email protected]>2019-01-08 00:38:30 +0000
commit63b9aa2e257475cdee0a1aafcd57c6f123d6e7e6 (patch)
tree70dc52eeb9f910ec1f3a45ece9bd78a8ea4df3b8 /src/compiler/spirv/vtn_private.h
parent3a7c5667c83f3a3f820a28af0e428bdfd010bd28 (diff)
spirv: Add support for using derefs for UBO/SSBO access
For now, it's hidden behind a cap. Hopefully, we can eventually drop that along with all the manual offset code in spirv_to_nir. Reviewed-by: Alejandro PiƱeiro <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Tested-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r--src/compiler/spirv/vtn_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h
index 8e3fa4af7f2..bfc4b95d999 100644
--- a/src/compiler/spirv/vtn_private.h
+++ b/src/compiler/spirv/vtn_private.h
@@ -378,6 +378,8 @@ struct vtn_type {
};
};
+bool vtn_type_contains_block(struct vtn_builder *b, struct vtn_type *type);
+
bool vtn_types_compatible(struct vtn_builder *b,
struct vtn_type *t1, struct vtn_type *t2);