From 3509059cd8357455155260d8587b8a438c34e49f Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 19 Jul 2023 16:20:52 -0700 Subject: Add `sampleCount` parameter for MS textures. (#3001) * Add `sampleCount` parameter for MS textures. * Fix test. --------- Co-authored-by: Yong He --- source/slang/slang-check-type.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-check-type.cpp') diff --git a/source/slang/slang-check-type.cpp b/source/slang/slang-check-type.cpp index fd4c218fa..cee54388f 100644 --- a/source/slang/slang-check-type.cpp +++ b/source/slang/slang-check-type.cpp @@ -108,7 +108,7 @@ namespace Slang { return expr; } - + getSink()->diagnose(expr, Diagnostics::expectedAType, expr->type); return CreateErrorExpr(expr); } -- cgit v1.2.3