Name of primitive processor will now be printed in generated shader code
BUG=skia: Review URL: https://codereview.chromium.org/1253513003
This commit is contained in:
parent
9efef7b56f
commit
150714fb16
@ -268,6 +268,7 @@ void GrGLProgramBuilder::emitAndInstallProc(const GrPrimitiveProcessor& proc,
|
||||
SkString openBrace;
|
||||
openBrace.printf("{ // Stage %d, %s\n", fStageIndex, proc.name());
|
||||
fFS.codeAppend(openBrace.c_str());
|
||||
fVS.codeAppendf("// Primitive Processor %s\n", proc.name());
|
||||
|
||||
this->emitAndInstallProc(proc, outputColor->c_str(), outputCoverage->c_str());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user