Home
last modified time | relevance | path

Searched refs:uConst (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DConstantUnion.h95 void setUConst(unsigned int u) { uConst = u; type = EbtUInt; } in setUConst()
100 unsigned int getUConst() const { return uConst; } in getUConst()
111 case EbtUInt: return reinterpret_cast<const float&>(uConst); in getAsFloat()
125 return u == uConst;
147 return constant.uConst == uConst;
189 return uConst > constant.uConst;
204 return uConst < constant.uConst;
219 return uConst <= constant.uConst;
234 return uConst >= constant.uConst;
248 case EbtUInt: returnValue.setUConst(uConst + constant.uConst); break;
[all …]
DValidateSwitch.cpp144 unsigned int uConst = condition->getUConst(0); in visitCase() local
145 if (mCasesUnsigned.find(uConst) != mCasesUnsigned.end()) in visitCase()
152 mCasesUnsigned.insert(uConst); in visitCase()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DConstantUnion.h84 uConst = u; in setUConst()
123 unsigned int getUConst() const { return uConst; } in getUConst()
172 if (u == uConst)
222 if (constant.uConst == uConst)
341 if (uConst > constant.uConst)
434 if (uConst < constant.uConst)
450 case EbtUint: returnValue.setUConst(uConst + constant.uConst); break;
472 case EbtUint: returnValue.setUConst(uConst - constant.uConst); break;
494 case EbtUint: returnValue.setUConst(uConst * constant.uConst); break;
516 case EbtUint: returnValue.setUConst(uConst % constant.uConst); break;
[all …]
/external/deqp-deps/glslang/glslang/Include/
DConstantUnion.h84 uConst = u; in setUConst()
123 unsigned int getUConst() const { return uConst; } in getUConst()
172 if (u == uConst)
222 if (constant.uConst == uConst)
341 if (uConst > constant.uConst)
434 if (uConst < constant.uConst)
450 case EbtUint: returnValue.setUConst(uConst + constant.uConst); break;
472 case EbtUint: returnValue.setUConst(uConst - constant.uConst); break;
494 case EbtUint: returnValue.setUConst(uConst * constant.uConst); break;
516 case EbtUint: returnValue.setUConst(uConst % constant.uConst); break;
[all …]
/external/angle/src/compiler/translator/
DConstantUnion.cpp74 TConstantUnion::TConstantUnion(unsigned int u) : uConst(u), type(EbtUInt) {} in TConstantUnion()
89 return uConst; in getUConst()
99 return static_cast<float>(uConst); in getFConst()
268 return u == uConst; in operator ==()
279 return f == static_cast<float>(uConst); in operator ==()
305 return constant.uConst == uConst; in operator ==()
367 return uConst > constant.uConst; in operator >()
391 return uConst < constant.uConst; in operator <()
422 returnValue.setUConst(gl::WrappingSum<unsigned int>(lhs.uConst, rhs.uConst)); in add()
457 returnValue.setUConst(gl::WrappingDiff<unsigned int>(lhs.uConst, rhs.uConst)); in sub()
[all …]
DConstantUnion.h37 uConst = u; in setUConst()
111 unsigned int uConst; // used for uvec, scalar uints member
DValidateSwitch.cpp231 unsigned int uConst = condition->getUConst(0); in visitCase() local
232 if (mCasesUnsigned.find(uConst) != mCasesUnsigned.end()) in visitCase()
239 mCasesUnsigned.insert(uConst); in visitCase()