diff options
author | Luca Barbieri <[email protected]> | 2010-09-22 13:24:55 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-09-22 13:24:55 +0200 |
commit | 1aed6f42e9da0ca85b4d204d9dcaaa4632b34230 (patch) | |
tree | f694a958e508dae4c960b14c3297820364eeff0d | |
parent | 12044e4c9907b9b3dca8960faa4f26fc4e195d83 (diff) |
d3d1x: fix cf analysis
-rw-r--r-- | src/gallium/state_trackers/d3d1x/d3d1xshader/src/tpf_analyze.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/d3d1x/d3d1xshader/src/tpf_analyze.cpp b/src/gallium/state_trackers/d3d1x/d3d1xshader/src/tpf_analyze.cpp index a100ee5c3f5..a381564ada1 100644 --- a/src/gallium/state_trackers/d3d1x/d3d1xshader/src/tpf_analyze.cpp +++ b/src/gallium/state_trackers/d3d1x/d3d1xshader/src/tpf_analyze.cpp @@ -35,8 +35,8 @@ bool tpf_link_cf_insns(tpf_program& program) if(program.cf_insn_linked.size()) return true; - program.cf_insn_linked.resize(program.insns.size()); std::vector<int> cf_insn_linked; + cf_insn_linked.resize(program.insns.size()); memset(&cf_insn_linked[0], 0xff, cf_insn_linked.size() * sizeof(int)); std::vector<unsigned> cf_stack; for(unsigned insn_num = 0; insn_num < program.insns.size(); ++insn_num) |