diff options
author | 2014-11-19 06:22:39 -0800 | |
---|---|---|
committer | 2014-11-19 06:22:39 -0800 | |
commit | ec03a4608025106ea3f21353865c7d302c0a13c6 (patch) | |
tree | 06ea08866680ce7abe2fdc7cdca0eb0321684ace /include | |
parent | b07a94f1cba3976596ae1a7f23d8c2043ba353f3 (diff) |
Add processor name to comment when printing out shaders.
BUG=skia:
Review URL: https://codereview.chromium.org/735153002
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrProcessorStage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrProcessorStage.h b/include/gpu/GrProcessorStage.h index 6f8496db06..0f24a30a32 100644 --- a/include/gpu/GrProcessorStage.h +++ b/include/gpu/GrProcessorStage.h @@ -146,6 +146,8 @@ public: } } + const char* name() const { return fProc->name(); } + const GrFragmentProcessor* getProcessor() const { return fProc.get(); } void convertToPendingExec() { fProc.convertToPendingExec(); } |