mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 01:20:17 +01:00
i965: Validate the IR tree after doing our custom optimization passes.
This wouldn't catch the last failure fixed in them, because we don't validate assignments well (due to the fact that we've got a pretty glaring inconsistency in how we handle assignment writemasking), but it could catch other failure we may produce.
This commit is contained in:
parent
55ced33675
commit
166b3fa29d
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue