Mesa (master): meta: Don't write depth when generating miptrees
Topi Pohjolainen
tpohjola at kemper.freedesktop.org
Fri Jan 30 08:32:11 UTC 2015
Module: Mesa
Branch: master
Commit: c49c7505798821a9c17c9181ddc5577df27940ce
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c49c7505798821a9c17c9181ddc5577df27940ce
Author: Topi Pohjolainen <topi.pohjolainen at intel.com>
Date: Wed Jan 28 17:17:22 2015 +0200
meta: Don't write depth when generating miptrees
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/mesa/drivers/common/meta_generate_mipmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/common/meta_generate_mipmap.c b/src/mesa/drivers/common/meta_generate_mipmap.c
index c38b46b..c1b6d3c 100644
--- a/src/mesa/drivers/common/meta_generate_mipmap.c
+++ b/src/mesa/drivers/common/meta_generate_mipmap.c
@@ -193,7 +193,7 @@ _mesa_meta_GenerateMipmap(struct gl_context *ctx, GLenum target,
if (use_glsl_version) {
_mesa_meta_setup_vertex_objects(&mipmap->VAO, &mipmap->VBO, true,
2, 4, 0);
- _mesa_meta_setup_blit_shader(ctx, target, true, &mipmap->shaders);
+ _mesa_meta_setup_blit_shader(ctx, target, false, &mipmap->shaders);
} else {
_mesa_meta_setup_ff_tnl_for_blit(&mipmap->VAO, &mipmap->VBO, 3);
_mesa_set_enable(ctx, target, GL_TRUE);
More information about the mesa-commit
mailing list