diff options
| -rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 749a2f2eb7..f8b06226d7 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -144,6 +144,8 @@ brw_link_shader(GLcontext *ctx, struct gl_shader_program *prog)  	    progress = do_common_optimization(shader->ir, true) || progress;  	 } while (progress); +	 validate_ir_tree(shader->ir); +  	 reparent_ir(shader->ir, shader->ir);  	 talloc_free(mem_ctx);        } | 
