Home
last modified time | relevance | path

Searched refs:iConst (Results 1 – 6 of 6) sorted by relevance

/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DConstantUnion.h50 TConstUnion() : iConst(0), type(EbtInt) { } in POOL_ALLOCATOR_NEW_DELETE()
78 iConst = i; in setIConst()
122 int getIConst() const { return iConst; } in getIConst()
164 if (i == iConst)
217 if (constant.iConst == iConst)
336 if (iConst > constant.iConst)
429 if (iConst < constant.iConst)
449 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;
471 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;
493 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;
[all …]
/external/deqp-deps/glslang/glslang/Include/
DConstantUnion.h50 TConstUnion() : iConst(0), type(EbtInt) { } in POOL_ALLOCATOR_NEW_DELETE()
78 iConst = i; in setIConst()
122 int getIConst() const { return iConst; } in getIConst()
164 if (i == iConst)
217 if (constant.iConst == iConst)
336 if (iConst > constant.iConst)
429 if (iConst < constant.iConst)
449 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;
471 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;
493 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;
[all …]
/external/angle/src/compiler/translator/
DConstantUnion.cpp70 TConstantUnion::TConstantUnion() : iConst(0), type(EbtVoid) {} in TConstantUnion()
72 TConstantUnion::TConstantUnion(int i) : iConst(i), type(EbtInt) {} in TConstantUnion()
83 return iConst; in getIConst()
97 return static_cast<float>(iConst); in getFConst()
267 return i == iConst; in operator ==()
287 return f == static_cast<float>(iConst); in operator ==()
313 return constant.iConst == iConst; in operator ==()
375 return iConst > constant.iConst; in operator >()
399 return iConst < constant.iConst; in operator <()
429 returnValue.setIConst(gl::WrappingSum<int>(lhs.iConst, rhs.iConst)); in add()
[all …]
DValidateSwitch.cpp218 int iConst = condition->getIConst(0); in visitCase() local
219 if (mCasesSigned.find(iConst) != mCasesSigned.end()) in visitCase()
226 mCasesSigned.insert(iConst); in visitCase()
DConstantUnion.h32 iConst = i; in setIConst()
110 int iConst; // used for ivec, scalar ints member
DIntermNode.cpp3177 int iConst = operandArray[i].getIConst(); in foldUnaryComponentWise() local
3179 if (iConst > 0) in foldUnaryComponentWise()
3181 else if (iConst < 0) in foldUnaryComponentWise()