Index: src/gpu/glsl/GrGLSLCaps.h |
diff --git a/src/gpu/glsl/GrGLSLCaps.h b/src/gpu/glsl/GrGLSLCaps.h |
index b68b3b4a22bd6ffee8e3eace26f43b659ac1c32d..d147aac3c147e888d993ba0c39f3306f068aa38e 100755 |
--- a/src/gpu/glsl/GrGLSLCaps.h |
+++ b/src/gpu/glsl/GrGLSLCaps.h |
@@ -65,6 +65,8 @@ public: |
return fGLSLGeneration > k110_GrGLSLGeneration; |
} |
+ bool usesPrecisionModifiers() const { return fUsesPrecisionModifiers; } |
+ |
GrGLSLGeneration generation() const { return fGLSLGeneration; } |
/** |
@@ -79,6 +81,8 @@ private: |
bool fFBFetchSupport : 1; |
bool fFBFetchNeedsCustomOutput : 1; |
bool fBindlessTextureSupport : 1; |
+ bool fUsesPrecisionModifiers : 1; |
+ |
const char* fFBFetchColorName; |
const char* fFBFetchExtensionString; |