Lines Matching refs:writeLiteral
624 SpvId countId = this->writeLiteral(type->columns(), *fContext.fTypes.fInt);
791 return this->writeLiteral(expr.as<Literal>());
1076 SpvId lodBias = this->writeLiteral(-0.5, *fContext.fTypes.fFloat);
1297 key.fValueId[n] = this->writeLiteral(*slotVal, scalarType);
1357 const SpvId oneID = this->writeLiteral(1.0, *fContext.fTypes.fFloat);
1358 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fFloat);
1391 const SpvId oneID = this->writeLiteral(1.0, *fContext.fTypes.fInt);
1392 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fInt);
1426 const SpvId oneID = this->writeLiteral(1.0, *fContext.fTypes.fUInt);
1427 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fUInt);
1461 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fInt);
1466 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fUInt);
1471 const SpvId zeroID = this->writeLiteral(0.0, *fContext.fTypes.fFloat);
1483 SpvId zeroId = this->writeLiteral(0.0, *fContext.fTypes.fFloat);
1521 const SpvId zeroId = this->writeLiteral(0.0, dstType.componentType());
1522 const SpvId oneId = this->writeLiteral(1.0, dstType.componentType());
1876 chain.push_back(this->writeLiteral(fieldExpr.fieldIndex(), *fContext.fTypes.fInt));
2026 SpvId uniformIdxId = this->writeLiteral((double)uniformIdx, *fContext.fTypes.fInt);
2066 SpvId indexId = this->writeLiteral(swizzle.components()[0], *fContext.fTypes.fInt);
2305 SpvId one = this->writeLiteral(1.0, type);
2710 rhs = this->writeLiteral(1.0 / rhsValue, right->type());
2726 SpvId falseConstant = this->writeLiteral(0.0, *fContext.fTypes.fBool);
2746 SpvId trueConstant = this->writeLiteral(1.0, *fContext.fTypes.fBool);
2820 SpvId one = this->writeLiteral(1.0, type);
2829 SpvId one = this->writeLiteral(1.0, type);
2858 SpvId one = this->writeLiteral(1.0, type);
2878 SpvId SPIRVCodeGenerator::writeLiteral(const Literal& l) {
2879 return this->writeLiteral(l.value(), l.type());
2882 SpvId SPIRVCodeGenerator::writeLiteral(double value, const Type& type) {