meta: Don't write depth when decompressing tex-images
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 28 Jan 2015 15:23:59 +0000 (17:23 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 30 Jan 2015 07:59:13 +0000 (09:59 +0200)
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/common/meta.c

index 84d6337b670d842d471818108c97a79bc5c56b29..8b73cb99f3f6093c3a4b79a0dc4be5ad60c57d43 100644 (file)
@@ -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);
    }