/third_party/glslang/glslang/Include/ |
D | ConstantUnion.h | 85 type = EbtUint; in setUConst() 221 case EbtUint: 338 case EbtUint: 427 case EbtUint: 444 case EbtUint: returnValue.setUConst(uConst + constant.uConst); break; 464 case EbtUint: returnValue.setUConst(uConst - constant.uConst); break; 484 case EbtUint: returnValue.setUConst(uConst * constant.uConst); break; 504 case EbtUint: returnValue.setUConst(uConst % constant.uConst); break; 528 case EbtUint: returnValue.setI8Const(i8Const >> constant.uConst); break; 541 case EbtUint: returnValue.setU8Const(u8Const >> constant.uConst); break; [all …]
|
D | BaseTypes.h | 57 EbtUint, enumerator 568 case EbtUint: in isTypeUnsignedInt() 606 case EbtUint: in getTypeRank()
|
D | Types.h | 247 case EbtUint: s.append("u"); break; in getString() 1598 } else if (p.basicType == EbtUint && numBits == 8) { in TType() 1601 } else if (p.basicType == EbtUint && numBits == 16) { in TType() 1844 case EbtUint: in isIntegerDomain() 1941 case EbtUint: in containsNonOpaque() 2080 case EbtUint: return "uint"; in getBasicString() 2299 case EbtUint: 2341 case EbtUint: 2723 … else if (getBasicType() == EbtUint || getBasicType() == EbtUint8 || getBasicType() == EbtUint16) in sameCoopMatBaseType() 2724 …rv = right.getBasicType() == EbtUint || right.getBasicType() == EbtUint8 || right.getBasicType() =… in sameCoopMatBaseType() [all …]
|
/third_party/glslang/glslang/MachineIndependent/ |
D | Intermediate.cpp | 390 case EOpConstructUint: newType = EbtUint; break; in addUnaryMath() 572 case EbtUint: newOp = EOpConvUintToDouble; break; in buildConvertOp() 590 case EbtUint: newOp = EOpConvUintToFloat; break; in buildConvertOp() 611 case EbtUint: newOp = EOpConvUintToFloat16; break; in buildConvertOp() 624 case EbtUint: newOp = EOpConvUintToBool; break; in buildConvertOp() 644 case EbtUint: newOp = EOpConvUintToInt8; break; in buildConvertOp() 661 case EbtUint: newOp = EOpConvUintToUint8; break; in buildConvertOp() 679 case EbtUint: newOp = EOpConvUintToInt16; break; in buildConvertOp() 696 case EbtUint: newOp = EOpConvUintToUint16; break; in buildConvertOp() 710 case EbtUint: newOp = EOpConvUintToInt; break; in buildConvertOp() [all …]
|
D | glslang.y | 1788 $$.basicType = EbtUint; 1842 $$.basicType = EbtUint; 1848 $$.basicType = EbtUint; 1854 $$.basicType = EbtUint; 1967 $$.basicType = EbtUint; 2168 $$.basicType = EbtUint; 2174 $$.basicType = EbtUint; 2180 $$.basicType = EbtUint; 2701 $$.sampler.set(EbtUint, Esd2D); 2706 $$.sampler.set(EbtUint, Esd3D); [all …]
|
D | glslang_tab.cpp | 7566 (yyval.interm.type).basicType = EbtUint; in yyparse() 7675 (yyval.interm.type).basicType = EbtUint; in yyparse() 7686 (yyval.interm.type).basicType = EbtUint; in yyparse() 7697 (yyval.interm.type).basicType = EbtUint; in yyparse() 7920 (yyval.interm.type).basicType = EbtUint; in yyparse() 8286 (yyval.interm.type).basicType = EbtUint; in yyparse() 8297 (yyval.interm.type).basicType = EbtUint; in yyparse() 8308 (yyval.interm.type).basicType = EbtUint; in yyparse() 9264 (yyval.interm.type).sampler.set(EbtUint, Esd2D); in yyparse() 9274 (yyval.interm.type).sampler.set(EbtUint, Esd3D); in yyparse() [all …]
|
D | SpirvIntrinsics.cpp | 220 } else if (constant->getBasicType() == EbtUint) { in getSpirvDecorateQualifierString() 289 constant->getBasicType() != EbtUint && in makeSpirvTypeParameters()
|
D | SymbolTable.cpp | 66 case EbtUint: mangledName += 'u'; break; in buildMangledName() 85 case EbtUint: mangledName += "u"; break; in buildMangledName()
|
D | ParseHelper.cpp | 145 defaultPrecision[EbtUint] = EpqMedium; in setPrecisionDefaults() 148 defaultPrecision[EbtUint] = EpqHigh; in setPrecisionDefaults() 2506 if (imageType.getSampler().type == EbtInt || imageType.getSampler().type == EbtUint || in builtInOpCheck() 2914 if (imageType.getSampler().type == EbtInt || imageType.getSampler().type == EbtUint) { in nonOpBuiltInCheck() 3229 if ((from_type == EbtInt || from_type == EbtUint || in integerCheck() 3231 intermediate.canImplicitlyPromote(from_type, EbtUint, EOpNull)) && node->isScalar()) in integerCheck() 3722 …bool isIntegerVec2 = ((basicType == EbtUint || basicType == EbtInt) && pType->getVectorSize() == 2… in constructorTextureSamplerError() 4031 || publicType.userDef->containsBasicType(EbtUint) in globalQualifierTypeCheck() 4288 defaultPrecision[EbtUint] = qualifier; in setDefaultPrecision() 4345 …if (baseType == EbtFloat || baseType == EbtUint || baseType == EbtInt || baseType == EbtSampler ||… in precisionQualifierCheck() [all …]
|
D | reflection.cpp | 779 case EbtUint: in mapSamplerToGlType() 858 case EbtUint: in mapSamplerToGlType() 907 case EbtUint: return GL_UNSIGNED_INT_VEC2 + offset; in mapToGlType() 999 case EbtUint: return GL_UNSIGNED_INT; in mapToGlType()
|
D | Constant.cpp | 173 case EbtUint: in fold() 505 …case EbtUint: newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i… in fold() 1058 case EbtUint: in fold() 1092 case EbtUint: in fold() 1124 case EbtUint: in fold()
|
D | Initialize.cpp | 484 prefixes[EbtUint] = "u"; in TBuiltIns() 6280 const TBasicType bTypes[] = { EbtFloat, EbtInt, EbtUint, in add2ndGenerationSamplingImaging() 6336 if (shadow && (bTypes[bType] == EbtInt || bTypes[bType] == EbtUint)) in add2ndGenerationSamplingImaging() 6554 …if (sampler.type == EbtInt || sampler.type == EbtUint || sampler.type == EbtInt64 || sampler.type … in addImageFunctions() 6559 case(EbtUint): dataType = "highp uint"; break; in addImageFunctions()
|
D | intermOut.cpp | 1328 case EbtUint: in OutputConstantUnion()
|
/third_party/glslang/glslang/HLSL/ |
D | hlslGrammar.cpp | 867 basicType = EbtUint; in acceptTemplateVecMatBasicType() 886 basicType = parseContext.hlslEnable16BitTypes() ? EbtUint16 : EbtUint; in acceptTemplateVecMatBasicType() 1197 case EbtUint: in acceptSubpassInputType() 1378 case EbtUint: in acceptTextureType() 1484 const TBasicType min16uint_bt = enable16BitTypes ? EbtUint16 : EbtUint; in acceptType() 1680 new(&type) TType(EbtUint); in acceptType() 1683 new(&type) TType(EbtUint); in acceptType() 1687 new(&type) TType(EbtUint, EvqTemporary, 2); in acceptType() 1690 new(&type) TType(EbtUint, EvqTemporary, 3); in acceptType() 1693 new(&type) TType(EbtUint, EvqTemporary, 4); in acceptType() [all …]
|
D | hlslParseHelper.cpp | 209 case EbtUint: return selectFormat(ElfR32ui, ElfRg32ui, ElfRgba32ui); in getLayoutFromTxType() 780 if (indexBasicType == EbtInt || indexBasicType == EbtUint || in makeIntegerIndex() 785 … return intermediate.addConversion(EOpConstructUint, TType(EbtUint, EvqTemporary, vecSize), index); in makeIntegerIndex() 2232 TType invocationIdType(EbtUint, EvqIn, 1); in transformEntryPoint() 2321 type.containsBasicType(EbtUint) || in remapEntryPointIO() 3413 TType* counterType = new TType(EbtUint, EvqBuffer); in counterBufferType() 3465 counterMember->setType(TType(EbtUint)); in getStructBufferCounter() 3506 counterIncrement->setType(TType(EbtUint, EvqTemporary)); in decomposeStructBufferMethods() 4220 sizeQuery->setType(TType(EbtUint, EvqTemporary, numDims)); in decomposeSampleMethods() 4242 indexedOut->setType(TType(EbtUint, EvqTemporary, 1)); in decomposeSampleMethods() [all …]
|
/third_party/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 1366 } else if (constant->getBasicType() == glslang::EbtUint) { in TranslateLiterals() 4322 case glslang::EbtUint: return builder.makeUintType(32); in getSampledType() 4415 case glslang::EbtUint: in convertGlslangToSpvType() 4566 } else if (constant->getBasicType() == glslang::EbtUint) { in convertGlslangToSpvType() 5755 if (sampler.type == glslang::EbtUint) in createImageTextureFunctionCall() 5778 const bool isUnsignedResult = node->getType().getBasicType() == glslang::EbtUint; in createImageTextureFunctionCall() 7833 } else if (typeProxy == glslang::EbtUint || typeProxy == glslang::EbtUint64) { in createAtomicOperation() 7851 } else if (typeProxy == glslang::EbtUint || typeProxy == glslang::EbtUint64) { in createAtomicOperation() 9819 case glslang::EbtUint: in createSpvConstantFromConstUnionArray() 9871 case glslang::EbtUint: in createSpvConstantFromConstUnionArray()
|