diff options
author | Topi Pohjolainen <[email protected]> | 2015-01-28 17:17:22 +0200 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2015-01-30 09:59:04 +0200 |
commit | c49c7505798821a9c17c9181ddc5577df27940ce (patch) | |
tree | 9895586f5a815d5e17137d37e46a862e45dc9574 /src/mesa | |
parent | 941aced635aab743bf1ec40ae7f3d21989c8a28e (diff) |
meta: Don't write depth when generating miptrees
Signed-off-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/common/meta_generate_mipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta_generate_mipmap.c b/src/mesa/drivers/common/meta_generate_mipmap.c index c38b46bb688..c1b6d3c1f86 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); |