ir_reader: Run ir_validate on the generated IR.
It's just too easy to get something wrong in hand-written IR.
This commit is contained in:
@@ -84,6 +84,8 @@ _mesa_glsl_read_ir(_mesa_glsl_parse_state *state, exec_list *instructions,
|
||||
|
||||
read_instructions(state, instructions, expr, NULL);
|
||||
talloc_free(expr);
|
||||
|
||||
validate_ir_tree(instructions);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user