SPIRV-Cross/reference
Hans-Kristian Arntzen d4e470babd Analyze the CFG for temporaries as well.
Normally, temporary declaration must dominate any use of it,
so we generally did not need to analyze the CFG for these variables,
but there is an edge case where you have an inliner doing:

do {
	create_temporary;
	break;
} while(0);

use_temporary;

The inside of the loop dominates the outer scope, but we cannot emit
code like this in GLSL, so make sure we hoist these temporaries outside
the "loop".
2018-01-12 10:56:11 +01:00
..
opt Analyze the CFG for temporaries as well. 2018-01-12 10:56:11 +01:00
shaders Analyze the CFG for temporaries as well. 2018-01-12 10:56:11 +01:00
shaders-hlsl Rewrite barrier handling in HLSL. 2018-01-09 12:41:13 +01:00
shaders-msl Analyze the CFG for temporaries as well. 2018-01-12 10:56:11 +01:00
shaders-msl-no-opt/vert Fixes from review of PR #373. 2018-01-05 23:22:36 -05:00