|
@@ -250,7 +250,7 @@ FunctionType::FunctionType(const SpirvType *ret,
|
|
// Make sure
|
|
// Make sure
|
|
assert(!isa<HybridType>(ret));
|
|
assert(!isa<HybridType>(ret));
|
|
for (auto *paramType : param)
|
|
for (auto *paramType : param)
|
|
- assert(!isa<HybridType>(param));
|
|
|
|
|
|
+ assert(!isa<HybridType>(paramType));
|
|
}
|
|
}
|
|
|
|
|
|
} // namespace spirv
|
|
} // namespace spirv
|