nir: Fix the control flow tests for nir_loop_first_block changes
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 6 Oct 2016 22:46:22 +0000 (15:46 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 6 Oct 2016 22:48:30 +0000 (15:48 -0700)
commit325b3fd668369e2ed0af937843e80e750d0b91ed
tree1ecaa451b9feab5873c79e807a6e24d23ebc9c17
parente3f586c98d0833a142dd02e8179b1463d2db8ca2
nir: Fix the control flow tests for nir_loop_first_block changes

Commit 2ed17d46de045404042f13c6591895a1cf31b167 changed
nir_loop_first_cf_node and friends to return a nir_block instead of a
nir_cf_node.  This broke one of the NIR control flow tests.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98128
src/compiler/nir/tests/control_flow_tests.cpp