Lines Matching refs:writeLine
80 void MetalCodeGenerator::writeLine(skstd::string_view s) { in writeLine() function in SkSL::MetalCodeGenerator
88 this->writeLine(); in finishLine()
93 this->writeLine("#extension " + ext.name() + " : enable"); in writeExtension()
120 this->writeLine("struct " + type.name() + " {"); in writeStructDefinition()
124 this->writeLine("};"); in writeStructDefinition()
207 this->writeLine(";"); in getOutParamHelper()
254 this->writeLine(") {"); in getOutParamHelper()
274 this->writeLine(";"); in getOutParamHelper()
296 this->writeLine(");"); in getOutParamHelper()
308 this->writeLine(";"); in getOutParamHelper()
312 this->writeLine("return _skResult;"); in getOutParamHelper()
316 this->writeLine("}"); in getOutParamHelper()
1905 this->writeLine(";"); in writeFunctionPrototype()
1939 this->writeLine(" {"); in writeFunction()
1943 this->writeLine(" Outputs _out;"); in writeFunction()
1944 this->writeLine(" (void)_out;"); in writeFunction()
1966 this->writeLine("}"); in writeFunction()
1987 this->writeLine(intf.typeName() + " {"); in writeInterfaceBlock()
1995 this->writeLine("float2 " SKSL_RTFLIP_NAME ";"); in writeInterfaceBlock()
2012 this->writeLine(";"); in writeInterfaceBlock()
2038 this->writeLine("];"); in writeFields()
2059 this->writeLine(";"); in writeFields()
2140 this->writeLine("{"); in writeBlock()
2204 this->writeLine(") {"); in writeSwitchStatement()
2211 this->writeLine(":"); in writeSwitchStatement()
2213 this->writeLine("default:"); in writeSwitchStatement()
2244 this->writeLine(";"); in writeReturnStatement()
2378 this->writeLine("struct sksl_synthetic_uniforms {"); in writeInterfaceBlocks()
2379 this->writeLine(" float2 " SKSL_RTFLIP_NAME ";"); in writeInterfaceBlocks()
2380 this->writeLine("};"); in writeInterfaceBlocks()
2462 fCodeGen->writeLine("};"); in writeGlobalStruct()
2511 fCodeGen->writeLine("};"); in writeGlobalInit()
2512 fCodeGen->writeLine(" (void)_globals;"); in writeGlobalInit()
2544 this->writeLine(";"); in writeProgramElement()