Lines Matching refs:EbtInt
40 case EbtInt: setFConst(static_cast<float>(constant.getIConst())); break; in cast()
47 case EbtInt: in cast()
50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break; in cast()
60 case EbtInt: setUConst(static_cast<unsigned int>(constant.getIConst())); break; in cast()
70 case EbtInt: setBConst(constant.getIConst() != 0); break; in cast()
80 case EbtInt: setIConst(constant.getIConst()); break; in cast()
94 void setIConst(int i) {iConst = i; type = EbtInt; } in setIConst()
110 case EbtInt: return reinterpret_cast<const float&>(iConst); in getAsFloat()
144 case EbtInt:
186 case EbtInt:
201 case EbtInt:
216 case EbtInt:
231 case EbtInt:
247 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;
261 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;
275 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;
289 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break;
302 case EbtInt: returnValue.setIConst(iConst >> constant.iConst); break;
316 assert(constant.type == EbtInt || constant.type == EbtUInt);
318 case EbtInt: returnValue.setIConst(iConst << constant.iConst); break;
329 assert(constant.type == EbtInt || constant.type == EbtUInt);
331 case EbtInt: returnValue.setIConst(iConst & constant.iConst); break;
344 case EbtInt: returnValue.setIConst(iConst | constant.iConst); break;
357 case EbtInt: returnValue.setIConst(iConst ^ constant.iConst); break;