SPIRV-Cross/reference/shaders-msl
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
..
asm Analyze the CFG for temporaries as well. 2018-01-12 10:56:11 +01:00
comp Disable mem_texture checks on MSL. 2018-01-09 14:09:29 +01:00
desktop-only Revert to not forcing gl_in/gl_out block for MSL, and add MSL gl_ClipDistance tests. 2018-01-08 16:18:34 -05:00
flatten CompilerMSL emit no-warning pragma when emitting spvConvertFromRowMajorCxR functions. 2018-01-06 00:51:25 -05:00
frag Disable --opt for in_block_assign for now. 2017-11-23 09:59:25 +01:00
legacy/vert CompilerMSL elide unused builtins from entry function input and output structs. 2017-05-24 09:31:38 -04:00
vert Fixes from review of PR #373. 2018-01-05 23:22:36 -05:00
vulkan CompilerMSL add support for MSL specialization function constants. 2017-06-15 15:24:22 -04:00