aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-03-22 18:44:06 -0700
committerJason Ekstrand <[email protected]>2018-06-22 20:15:57 -0700
commit3fc3798677545610f624c0887065e9cb6fcc6db2 (patch)
treec36072646264e6134c2779f74141bb363c31e589 /src/compiler/spirv/vtn_private.h
parent2f9bfd7dd9a016c7700f3f8767094443aed4cadb (diff)
spirv: Record the type of functions
Acked-by: Rob Clark <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[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 bd4d28b4f37..97031632e01 100644
--- a/src/compiler/spirv/vtn_private.h
+++ b/src/compiler/spirv/vtn_private.h
@@ -221,6 +221,8 @@ struct vtn_block {
struct vtn_function {
struct exec_node node;
+ struct vtn_type *type;
+
bool referenced;
bool emitted;