From e2ab4d5248e2220e667798f1709bf1b2b1822d6c Mon Sep 17 00:00:00 2001 From: Steven Perron Date: Tue, 3 Sep 2024 11:18:48 -0400 Subject: [PATCH] Update tools/clang/lib/SPIRV/LowerTypeVisitor.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nathan Gauër --- tools/clang/lib/SPIRV/LowerTypeVisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clang/lib/SPIRV/LowerTypeVisitor.cpp b/tools/clang/lib/SPIRV/LowerTypeVisitor.cpp index 3b0ac7badc..b847e1a040 100644 --- a/tools/clang/lib/SPIRV/LowerTypeVisitor.cpp +++ b/tools/clang/lib/SPIRV/LowerTypeVisitor.cpp @@ -1376,7 +1376,7 @@ const SpirvType *LowerTypeVisitor::getSpirvPointerFromInlineSpirvType( ArrayRef args, SpirvLayoutRule rule, Optional isRowMajor, SourceLocation location) { - assert(args.size() == 2 && "OpTypePoint requires exactly 2 arguments."); + assert(args.size() == 2 && "OpTypePointer requires exactly 2 arguments."); QualType scLiteralType = args[0].getAsType(); SpirvConstant *constant = nullptr; if (!getVkIntegralConstantValue(scLiteralType, constant, location) ||