diff options
Diffstat (limited to 'source/slang/parameter-binding.cpp')
| -rw-r--r-- | source/slang/parameter-binding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/parameter-binding.cpp b/source/slang/parameter-binding.cpp index e0cc26f2b..e5fddac02 100644 --- a/source/slang/parameter-binding.cpp +++ b/source/slang/parameter-binding.cpp @@ -447,7 +447,7 @@ static void diagnoseParameterTypeMismatch( ParameterBindingContext* context, StructuralTypeMatchStack* inStack) { - assert(inStack); + SLANG_ASSERT(inStack); // The bottom-most entry in the stack should represent // the shader parameters that kicked things off @@ -466,7 +466,7 @@ static void diagnoseTypeMismatch( StructuralTypeMatchStack* inStack) { auto stack = inStack; - assert(stack); + SLANG_ASSERT(stack); diagnoseParameterTypeMismatch(context, stack); auto leftType = GetType(stack->leftDecl); |
