diff options
| author | Yong He <yonghe@outlook.com> | 2023-07-19 16:20:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-19 16:20:52 -0700 |
| commit | 3509059cd8357455155260d8587b8a438c34e49f (patch) | |
| tree | 59933528a4e93bb02b93d80c8f4ebfe38509b24d /source/slang/slang-check-type.cpp | |
| parent | a5987aad211d2e0b9391bdda4b67873ec9873074 (diff) | |
Add `sampleCount` parameter for MS textures. (#3001)
* Add `sampleCount` parameter for MS textures.
* Fix test.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-check-type.cpp')
| -rw-r--r-- | source/slang/slang-check-type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
