Home | History | Annotate | Download | only in sksl

Lines Matching defs:writeLine

33 void MetalCodeGenerator::writeLine(const char* s) {
43 void MetalCodeGenerator::writeLine(const String& s) {
44 this->writeLine(s.c_str());
47 void MetalCodeGenerator::writeLine() {
48 this->writeLine("");
52 this->writeLine("#extension " + ext.fName + " : enable");
66 this->writeLine("struct " + type.name() + " {");
72 this->writeLine(" " + f.fName + ";");
452 this->writeLine(") {");
459 this->writeLine(" half4 sk_FragColor;");
462 this->writeLine(" Outputs _out;");
477 this->writeLine("return sk_FragColor;");
480 this->writeLine("return _out;");
487 this->writeLine("}");
509 this->writeLine(intf.fTypeName + " {");
518 this->writeLine(" " + f.fName + ";");
533 this->writeLine(";");
635 this->writeLine();
641 this->writeLine("{");
695 this->writeLine(") {");
701 this->writeLine(":");
703 this->writeLine("default:");
708 this->writeLine();
836 this->writeLine();
851 this->writeLine(";");