i965/vec4: Call calculate_cfg() in test programs to avoid crashing.
authorMatt Turner <mattst88@gmail.com>
Wed, 24 Sep 2014 23:05:50 +0000 (16:05 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 24 Sep 2014 23:06:41 +0000 (16:06 -0700)
commitba0c0a186de65869030e80efeab6cf374c0911b9
tree7ec207d5072cd10c8ad775cd995cef059d13b06b
parent52476b35c1db963b13856d4b08b866adf8e05470
i965/vec4: Call calculate_cfg() in test programs to avoid crashing.

Reported-by: Mark Janes <mark.a.janes@intel.com>
src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp