aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/mtl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/mtl')
-rw-r--r--src/gpu/mtl/GrMtlCaps.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/mtl/GrMtlCaps.h b/src/gpu/mtl/GrMtlCaps.h
index c23a9028ca..61eaffed64 100644
--- a/src/gpu/mtl/GrMtlCaps.h
+++ b/src/gpu/mtl/GrMtlCaps.h
@@ -31,6 +31,10 @@ public:
int getRenderTargetSampleCount(int requestedCount, GrPixelConfig) const override;
int maxRenderTargetSampleCount(GrPixelConfig) const override;
+ bool renderTargetWritePixelsSupported(bool isAlsoTexture, int sampleCnt) const override {
+ return true;
+ }
+
bool isConfigCopyable(GrPixelConfig config) const override {
return true;
}