Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DConstantUnion.h29 iConst = 0; in POOL_ALLOCATOR_NEW_DELETE()
94 void setIConst(int i) {iConst = i; type = EbtInt; } in setIConst()
99 int getIConst() const { return iConst; } in getIConst()
110 case EbtInt: return reinterpret_cast<const float&>(iConst); in getAsFloat()
120 return i == iConst;
145 return constant.iConst == iConst;
187 return iConst > constant.iConst;
202 return iConst < constant.iConst;
217 return iConst <= constant.iConst;
232 return iConst >= constant.iConst;
[all …]
DValidateSwitch.cpp131 int iConst = condition->getIConst(0); in visitCase() local
132 if (mCasesSigned.find(iConst) != mCasesSigned.end()) in visitCase()
139 mCasesSigned.insert(iConst); in visitCase()
/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()
257 return i == iConst; in operator ==()
277 return f == static_cast<float>(iConst); in operator ==()
303 return constant.iConst == iConst; in operator ==()
365 return iConst > constant.iConst; in operator >()
389 return iConst < constant.iConst; in operator <()
419 returnValue.setIConst(gl::WrappingSum<int>(lhs.iConst, rhs.iConst)); in add()
[all …]
DConstantUnion.h32 iConst = i; in setIConst()
110 int iConst; // used for ivec, scalar ints member
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()
DIntermNode.cpp2946 int iConst = operandArray[i].getIConst(); in foldUnaryComponentWise() local
2948 if (iConst > 0) in foldUnaryComponentWise()
2950 else if (iConst < 0) in foldUnaryComponentWise()