From 1aed6f42e9da0ca85b4d204d9dcaaa4632b34230 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Wed, 22 Sep 2010 13:24:55 +0200 Subject: [PATCH] d3d1x: fix cf analysis --- .../state_trackers/d3d1x/d3d1xshader/src/tpf_analyze.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cf_insn_linked; + cf_insn_linked.resize(program.insns.size()); memset(&cf_insn_linked[0], 0xff, cf_insn_linked.size() * sizeof(int)); std::vector cf_stack; for(unsigned insn_num = 0; insn_num < program.insns.size(); ++insn_num) -- 2.30.2