From abed74fb9b89240e54d7f1c547570ff5a893b29f Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Mon, 15 Jul 2024 11:53:20 +0200 Subject: [PATCH] Small nit. --- spirv_msl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spirv_msl.cpp b/spirv_msl.cpp index b9020f29..c5367294 100644 --- a/spirv_msl.cpp +++ b/spirv_msl.cpp @@ -9262,8 +9262,8 @@ void CompilerMSL::emit_instruction(const Instruction &instruction) auto sampler_expr = to_sampler_expression(image_id); auto *combined = maybe_get(image_id); auto image_expr = combined ? to_expression(combined->image) : to_expression(image_id); - const SPIRType& image_type = expression_type(image_id); - const SPIRType& coord_type = expression_type(coord_id); + const SPIRType &image_type = expression_type(image_id); + const SPIRType &coord_type = expression_type(coord_id); switch (image_type.image.dim) {