diff options
Diffstat (limited to 'src/compiler/spirv/vtn_private.h')
-rw-r--r-- | src/compiler/spirv/vtn_private.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compiler/spirv/vtn_private.h b/src/compiler/spirv/vtn_private.h index 48156fac4bd..b43b013d523 100644 --- a/src/compiler/spirv/vtn_private.h +++ b/src/compiler/spirv/vtn_private.h @@ -271,6 +271,15 @@ struct vtn_type { /* Access qualifier for storage images */ SpvAccessQualifier access_qualifier; }; + + /* Members for function types */ + struct { + /* For functions, the vtn_type for each parameter */ + struct vtn_type **params; + + /* Return type for functions */ + struct vtn_type *return_type; + }; }; }; |