Skip to content

Commit

Permalink
Small nit.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansKristian-Work committed Jul 15, 2024
1 parent cb06c50 commit abed74f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spirv_msl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9262,8 +9262,8 @@ void CompilerMSL::emit_instruction(const Instruction &instruction)
auto sampler_expr = to_sampler_expression(image_id);
auto *combined = maybe_get<SPIRCombinedImageSampler>(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)
{
Expand Down

0 comments on commit abed74f

Please sign in to comment.