summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta_blit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/common/meta_blit.c')
-rw-r--r--src/mesa/drivers/common/meta_blit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c
index d1c40f50c52..526295bacbd 100644
--- a/src/mesa/drivers/common/meta_blit.c
+++ b/src/mesa/drivers/common/meta_blit.c
@@ -419,6 +419,9 @@ blitframebuffer_texture(struct gl_context *ctx,
/* Fall back to doing a CopyTexSubImage to get the destination
* renderbuffer into a texture.
*/
+ if (ctx->Meta->Blit.no_ctsi_fallback)
+ return false;
+
if (rb->NumSamples > 1)
return false;