/external/swiftshader/src/OpenGL/compiler/ |
ConstantUnion.h | 40 case EbtInt: setFConst(static_cast<float>(constant.getIConst())); break; 47 case EbtInt: 50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break; 60 case EbtInt: setUConst(static_cast<unsigned int>(constant.getIConst())); break; 70 case EbtInt: setBConst(constant.getIConst() != 0); break; 80 case EbtInt: setIConst(constant.getIConst()); break; 94 void setIConst(int i) {iConst = i; type = EbtInt; } 110 case EbtInt: return reinterpret_cast<const float&>(iConst); 144 case EbtInt: 186 case EbtInt [all...] |
BaseTypes.h | 50 EbtInt, 112 case EbtInt: return "int"; 335 return type == EbtInt || type == EbtUInt; 340 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsSampler(type);
|
SymbolTable.h | 271 case EbtGenIType: return new TType(EbtInt, size); 292 case EbtIVec: return new TType(EbtInt, size); 348 TVariable *constant = new TVariable(NewPoolTString(name), TType(EbtInt, EbpUndefined, EvqConstExpr, 1)); 360 insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2D), ptype2, ptype3, ptype4, ptype5); 368 insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler3D), ptype2, ptype3, ptype4, ptype5); 376 insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISamplerCube), ptype2, ptype3, ptype4, ptype5); 384 insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2DArray), ptype2, ptype3, ptype4, ptype5); 465 if (type.type != EbtFloat && type.type != EbtInt) 478 if (type == EbtUInt) type = EbtInt; 480 if( type != EbtFloat && type != EbtInt ) return EbpUndefined [all...] |
ValidateSwitch.cpp | 129 if (conditionType == EbtInt)
|
Compiler.cpp | 173 integer.type = EbtInt;
|
OutputASM.cpp | 85 case EbtInt: 192 else if(type.getBasicType() == EbtInt) 252 Constant(int i) : TIntermConstantUnion(constants, TType(EbtInt, EbpHigh, EvqConstExpr, 1, 1, false)) 564 case EbtInt: 574 case EbtInt: 583 case EbtInt: 592 case EbtInt: 602 case EbtInt: 612 case EbtInt: 622 case EbtInt [all...] |
Intermediate.cpp | 135 case EbtInt: 732 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), line); 797 TType type(EbtInt, EbpUndefined, EvqConstExpr, 1); [all...] |
SymbolTable.cpp | 59 case EbtInt: mangledName += 'i'; break;
|
Initialize.cpp | 33 TType *int1 = new TType(EbtInt); 34 TType *int2 = new TType(EbtInt, 2); 35 TType *int3 = new TType(EbtInt, 3); 498 symbolTable.insert(ESSL3_BUILTINS, new TVariable(NewPoolTString("gl_InstanceID"), TType(EbtInt, EbpHigh, EvqInstanceID, 1))); 499 symbolTable.insert(ESSL3_BUILTINS, new TVariable(NewPoolTString("gl_VertexID"), TType(EbtInt, EbpHigh, EvqVertexID, 1))); [all...] |
glslang.y | 255 $$ = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), @1); [all...] |
ParseHelper.cpp | 285 case EbtInt: [all...] |
ValidateLimitations.cpp | 94 case EbtInt:
|
intermOut.cpp | 392 case EbtInt:
|
/external/deqp-deps/glslang/glslang/Include/ |
ConstantUnion.h | 50 TConstUnion() : iConst(0), type(EbtInt) { } 79 type = EbtInt; 236 case EbtInt: 352 case EbtInt: 407 case EbtInt: 445 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break; 465 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break; 485 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break; 505 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break; 527 case EbtInt: returnValue.setI8Const(i8Const >> constant.iConst); break [all...] |
BaseTypes.h | 55 EbtInt, 479 case EbtInt: 528 case EbtInt:
|
Types.h | 216 case EbtInt: s.append("i"); break; [all...] |
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
Intermediate.cpp | 314 case EOpConstructInt: newType = EbtInt; break; 508 case EbtInt: newOp = EOpConvIntToDouble; break; 525 case EbtInt: newOp = EOpConvIntToFloat; break; 542 case EbtInt: newOp = EOpConvIntToFloat16; break; 559 case EbtInt: newOp = EOpConvIntToBool; break; 575 case EbtInt: newOp = EOpConvIntToInt8; break; 592 case EbtInt: newOp = EOpConvIntToUint8; break; 610 case EbtInt: newOp = EOpConvIntToInt16; break; 627 case EbtInt: newOp = EOpConvIntToUint16; break; 640 case EbtInt [all...] |
glslang.y | 461 $$.function = new TFunction(&method->getMethodName(), TType(EbtInt), EOpArrayLength); [all...] |
attribute.cpp | 46 const TConstUnion* intConst = getConstUnion(EbtInt, argNum);
|
reflection.cpp | 448 case EbtInt: 530 case EbtInt: 598 case EbtInt: return GL_INT_VEC2 + offset; 694 case EbtInt: return GL_INT; [all...] |
SymbolTable.cpp | 66 case EbtInt: mangledName += 'i'; break; 84 case EbtInt: mangledName += "i"; break;
|
Constant.cpp | 224 case EbtInt: 290 case EbtInt: 536 case EbtInt: newConstArray[i].setIConst(-unionArray[i].getIConst()); break; 621 else if (unionArray[i].getType() == EbtInt) [all...] |
ParseHelper.cpp | 142 defaultPrecision[EbtInt] = EpqMedium; 145 defaultPrecision[EbtInt] = EpqHigh; 758 return intermediate.addMethod(base, TType(EbtInt), &field, loc); [all...] |
/external/deqp-deps/glslang/hlsl/ |
hlslGrammar.cpp | 822 basicType = EbtInt; [all...] |
hlslParseHelper.cpp | 206 case EbtInt: return selectFormat(ElfR32i, ElfRg32i, ElfRgba32i); 785 if (indexBasicType == EbtInt || indexBasicType == EbtUint || [all...] |