From: Topi Pohjolainen Date: Wed, 28 Jan 2015 15:23:59 +0000 (+0200) Subject: meta: Don't write depth when decompressing tex-images X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=083fb215e1afeeed0d2483e6242b0d7313191923;p=mesa.git meta: Don't write depth when decompressing tex-images Signed-off-by: Topi Pohjolainen Reviewed-by: Kenneth Graunke Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index 84d6337b670..8b73cb99f3f 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -3037,7 +3037,7 @@ decompress_texture_image(struct gl_context *ctx, _mesa_meta_setup_vertex_objects(&decompress->VAO, &decompress->VBO, true, 2, 4, 0); - _mesa_meta_setup_blit_shader(ctx, target, true, &decompress->shaders); + _mesa_meta_setup_blit_shader(ctx, target, false, &decompress->shaders); } else { _mesa_meta_setup_ff_tnl_for_blit(&decompress->VAO, &decompress->VBO, 3); }