Index: src/gpu/gl/builders/GrGLProgramBuilder.h |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.h b/src/gpu/gl/builders/GrGLProgramBuilder.h |
index 612791e07807e5dbbabb5b3740e2f7563f98322e..37cd57f16464f97e84ebf27c419f9b15b5e10b53 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.h |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.h |
@@ -287,6 +287,7 @@ protected: |
const GrProgramDesc& desc() const { return *fArgs.fDesc; } |
const GrBatchTracker& batchTracker() const { return *fArgs.fBatchTracker; } |
const GrProgramDesc::KeyHeader& header() const { return fArgs.fDesc->header(); } |
+ GrGpu::DrawType drawType() const { return fArgs.fDrawType; } |
// Generates a name for a variable. The generated string will be name prefixed by the prefix |
// char (unless the prefix is '\0'). It also mangles the name to be stage-specific if we're |