Lines Matching refs:fGen
1736 : fGen(gen) in PointerLValue()
1745 SpvId result = fGen.nextId(); in load()
1746 fGen.writeInstruction(SpvOpLoad, fType, result, fPointer, out); in load()
1751 fGen.writeInstruction(SpvOpStore, fPointer, value, out); in store()
1755 SPIRVCodeGenerator& fGen; member in SkSL::PointerLValue
1764 : fGen(gen) in SwizzleLValue()
1775 SpvId base = fGen.nextId(); in load()
1776 fGen.writeInstruction(SpvOpLoad, fGen.getType(fBaseType), base, fVecPointer, out); in load()
1777 SpvId result = fGen.nextId(); in load()
1778 fGen.writeOpCode(SpvOpVectorShuffle, 5 + (int32_t) fComponents.size(), out); in load()
1779 fGen.writeWord(fGen.getType(fSwizzleType), out); in load()
1780 fGen.writeWord(result, out); in load()
1781 fGen.writeWord(base, out); in load()
1782 fGen.writeWord(base, out); in load()
1784 fGen.writeWord(component, out); in load()
1800 SpvId base = fGen.nextId(); in store()
1801 fGen.writeInstruction(SpvOpLoad, fGen.getType(fBaseType), base, fVecPointer, out); in store()
1802 SpvId shuffle = fGen.nextId(); in store()
1803 fGen.writeOpCode(SpvOpVectorShuffle, 5 + fBaseType.columns(), out); in store()
1804 fGen.writeWord(fGen.getType(fBaseType), out); in store()
1805 fGen.writeWord(shuffle, out); in store()
1806 fGen.writeWord(base, out); in store()
1807 fGen.writeWord(value, out); in store()
1822 fGen.writeWord(offset, out); in store()
1824 fGen.writeInstruction(SpvOpStore, fVecPointer, shuffle, out); in store()
1828 SPIRVCodeGenerator& fGen; member in SkSL::SwizzleLValue