diff --git a/src/writer/spirv/builder.cc b/src/writer/spirv/builder.cc index 193584c2b7..fc012584c8 100644 --- a/src/writer/spirv/builder.cc +++ b/src/writer/spirv/builder.cc @@ -2316,6 +2316,7 @@ SpvImageFormat Builder::convert_image_format_to_spv( case ast::type::ImageFormat::kRgba32Float: return SpvImageFormatRgba32f; } + return SpvImageFormatUnknown; } } // namespace spirv