Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index 2d80bcc8c3c89cc8fa612c42ce2311da0036a2c2..8c0f4d16f7cc783e0dc4cf9ba34cc690bc1c26ea 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -538,6 +538,7 @@ void GrShaderCaps::reset() { |
fPathRenderingSupport = false; |
fDstReadInShaderSupport = false; |
fDualSourceBlendingSupport = false; |
+ fMixedSamplesSupport = false; |
fShaderPrecisionVaries = false; |
} |
@@ -548,6 +549,7 @@ GrShaderCaps& GrShaderCaps::operator=(const GrShaderCaps& other) { |
fPathRenderingSupport = other.fPathRenderingSupport; |
fDstReadInShaderSupport = other.fDstReadInShaderSupport; |
fDualSourceBlendingSupport = other.fDualSourceBlendingSupport; |
+ fMixedSamplesSupport = other.fMixedSamplesSupport; |
fShaderPrecisionVaries = other.fShaderPrecisionVaries; |
for (int s = 0; s < kGrShaderTypeCount; ++s) { |
@@ -590,6 +592,7 @@ SkString GrShaderCaps::dump() const { |
r.appendf("Path Rendering Support : %s\n", gNY[fPathRenderingSupport]); |
r.appendf("Dst Read In Shader Support : %s\n", gNY[fDstReadInShaderSupport]); |
r.appendf("Dual Source Blending Support : %s\n", gNY[fDualSourceBlendingSupport]); |
+ r.appendf("Mixed Samples Support : %s\n", gNY[fMixedSamplesSupport]); |
r.appendf("Shader Float Precisions (varies: %s):\n", gNY[fShaderPrecisionVaries]); |