aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta_blit.c
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2015-01-28 16:24:25 +0200
committerTopi Pohjolainen <[email protected]>2015-01-30 09:54:53 +0200
commit4c157d34c0163ab2389d74181121950aaf0ef121 (patch)
tree2a41659dddda23e150bb343ab2743ae869a402ac /src/mesa/drivers/common/meta_blit.c
parent604ae33c8b95a97ba586780324566fd21c59b695 (diff)
meta/blit: Add plumbing for shaders without depth
Currently all blit programs are unconditionally compiled with gl_FragDepth. Signed-off-by: Topi Pohjolainen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta_blit.c')
-rw-r--r--src/mesa/drivers/common/meta_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c
index 079b8e13200..02e90e0aaf7 100644
--- a/src/mesa/drivers/common/meta_blit.c
+++ b/src/mesa/drivers/common/meta_blit.c
@@ -531,7 +531,7 @@ setup_glsl_blit_framebuffer(struct gl_context *ctx,
} else if (is_target_multisample) {
setup_glsl_msaa_blit_shader(ctx, blit, src_rb, target);
} else {
- _mesa_meta_setup_blit_shader(ctx, target, &blit->shaders);
+ _mesa_meta_setup_blit_shader(ctx, target, true, &blit->shaders);
}
}