Lines Matching refs:slangAssert

132   slangAssert(false && "GetMatrixTypeName : Unsupported matrix dimension");
143 slangAssert((Index < (sizeof(VectorAccessorMap) / sizeof(const char *))) &&
187 slangAssert(false && "GetPackerAPIName : Unknown primitive data type");
242 default: { slangAssert(false && "Unknown class of type"); }
260 slangAssert(false && "Vectors should be size 2, 3, 4");
276 slangAssert(false && "Unsupported dimension of matrix");
303 slangAssert(FromTypeLoc != ValidTypes.end());
304 slangAssert(DestTypeLoc != ValidTypes.end());
306 slangAssert(FromTypeLoc - ValidTypes.begin() <= DestTypeLoc - ValidTypes.begin());
325 slangAssert(false && "Unknown integer type");
336 slangAssert((Style & (TypeNameC|TypeNamePseudoC)) != (TypeNameC|TypeNamePseudoC));
337 slangAssert(!(Style & TypeNamePseudoC) || (Style == TypeNamePseudoC));
348 slangAssert(!(Style & TypeNameC) &&
381 slangAssert(!(Style & TypeNameC) &&
388 slangAssert(!(Style & TypeNameC) &&
397 default: { slangAssert(false && "Unknown class of type"); }
457 slangAssert(mRSContext->getTargetAPI() >= SLANG_L_TARGET_API);
514 slangAssert(mGeneratedFileNames && "Must supply GeneratedFileNames");
515 slangAssert(!mPackageName.empty() && mPackageName != "-");
701 slangAssert(RT != nullptr);
710 slangAssert(*BI != nullptr);
738 slangAssert(!Val.isUninit() && "Not a valid initializer");
739 slangAssert((Val.getKind() == clang::APValue::Int) &&
750 slangAssert(!Val.isUninit() && "Not a valid initializer");
760 slangAssert(!Val.isUninit() && "Not a valid initializer");
815 slangAssert(false && "Unexpected type of value of initializer.");
831 slangAssert((Val.getKind() == clang::APValue::Vector) &&
852 slangAssert(false && "Unsupported initializer for record/matrix/constant "
856 default: { slangAssert(false && "Unknown class of type"); }
897 default: { slangAssert(false && "Unknown class of type"); }
1261 slangAssert(InTypeData.type->s_name != nullptr);
1319 slangAssert(!"Should not get here with pointer type");
1327 slangAssert(!"Unknown export class");
1334 slangAssert(false);
1345 slangAssert(Ins.size() == InTypes.size());
1362 slangAssert(!"Should not get here with pointer type");
1370 slangAssert(!"Unknown export class");
1398 slangAssert(Ins.size() == InTypes.size());
1399 slangAssert(Ins.size() == InsTypeData.size());
1400 slangAssert(Ins.size() == Args.size());
1555 slangAssert(!"Unknown MapFromAllocation");
1856 slangAssert(
1953 slangAssert(false && "Primitive type cannot have such kind of initializer");
1957 default: { slangAssert(false && "Unknown kind of initializer"); }
1965 slangAssert((ET->getClass() == RSExportType::ExportClassPointer) &&
1996 slangAssert((EV->getType()->getClass() == RSExportType::ExportClassVector) &&
2009 slangAssert((EV->getType()->getClass() == RSExportType::ExportClassMatrix) &&
2041 slangAssert(
2058 slangAssert((EV->getType()->getClass() == RSExportType::ExportClassRecord) &&
2138 slangAssert(!AllocSize32.first || ((AllocSize == 0) == (AllocSize32.second == 0)));
2271 default: { slangAssert(false && "Unknown class of type"); }
2766 slangAssert(false && "??");
2771 slangAssert(false && "??");
2781 slangAssert((ArraySize == 0) && "Cannot reflect multidimensional array types");
2849 slangAssert(false && "Unknown class of type");