diff options
Diffstat (limited to 'spirv_msl.cpp')
-rw-r--r-- | spirv_msl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spirv_msl.cpp b/spirv_msl.cpp index bc51447a..ee6e55ad 100644 --- a/spirv_msl.cpp +++ b/spirv_msl.cpp @@ -14196,7 +14196,7 @@ void CompilerMSL::sync_entry_point_aliases_and_names() string CompilerMSL::to_member_reference(uint32_t base, const SPIRType &type, uint32_t index, bool ptr_chain) { - auto *var = maybe_get<SPIRVariable>(base); + auto *var = maybe_get_backing_variable(base); // If this is a buffer array, we have to dereference the buffer pointers. // Otherwise, if this is a pointer expression, dereference it. |