aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrShaderCaps.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrShaderCaps.h')
-rw-r--r--include/gpu/GrShaderCaps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/GrShaderCaps.h b/include/gpu/GrShaderCaps.h
index b10ad60b5a..b093f37f28 100644
--- a/include/gpu/GrShaderCaps.h
+++ b/include/gpu/GrShaderCaps.h
@@ -252,6 +252,8 @@ public:
int maxCombinedImageStorages() const { return fMaxCombinedImageStorages; }
+ bool disableImageMultitexturingSupport() const { return fDisableImageMultitexturing; }
+
/**
* Given a texture's config, this determines what swizzle must be appended to accesses to the
* texture in generated shader code. Swizzling may be implemented in texture parameters or a
@@ -306,6 +308,7 @@ private:
bool fExternalTextureSupport : 1;
bool fTexelFetchSupport : 1;
bool fVertexIDSupport : 1;
+ bool fDisableImageMultitexturing : 1;
// Used for specific driver bug work arounds
bool fCanUseMinAndAbsTogether : 1;