Browse Source

ir_reader: Run ir_validate on the generated IR.

It's just too easy to get something wrong in hand-written IR.
tags/mesa-7.9-rc1
Kenneth Graunke 15 years ago
parent
commit
79088746a2
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/glsl/ir_reader.cpp

+ 2
- 0
src/glsl/ir_reader.cpp View File

@@ -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

Loading…
Cancel
Save