From dfcbdba47119de6c1d81a869f8625bcc3d7560a2 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 20 Oct 2016 14:09:15 +1100 Subject: mesa/compiler: copy early fragment tests to shader_info in _mesa_copy_linked_program_data() Reviewed-by: Jason Ekstrand --- src/mesa/main/shaderapi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main') diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 4996e8ed1d7..73b8931bda6 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -2197,6 +2197,7 @@ _mesa_copy_linked_program_data(const struct gl_shader_program *src, } case MESA_SHADER_FRAGMENT: { dst->info.fs.depth_layout = src->FragDepthLayout; + dst->info.fs.early_fragment_tests = dst_sh->info.EarlyFragmentTests; break; } case MESA_SHADER_COMPUTE: { -- cgit v1.2.3