SPIRV-Cross/reference/opt/shaders/asm
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
..
comp Improve handling of block name declaration in GLSL. 2017-12-01 14:30:10 +01:00
frag Analyze the CFG for temporaries as well. 2018-01-12 10:56:11 +01:00
tesc Fix tessellation control shaders from HLSL. 2018-01-04 16:22:44 +01:00
vert Add reference output for --opt. 2017-11-23 09:50:11 +01:00