SPIRV-Cross/shaders-no-opt/frag/modf-non-function-purity-analysis.frag
Hans-Kristian Arntzen 4561ecddbd Handle Modf/Frexp in more cases.
Consider it a write to a variable, similar to OpStore.
2021-11-07 11:36:44 +01:00

16 lines
199 B
GLSL

#version 450
layout(location = 0) in vec4 v;
layout(location = 0) out vec4 vo0;
layout(location = 1) out vec4 vo1;
vec4 modf_inner()
{
return modf(v, vo1);
}
void main()
{
vo0 = modf_inner();
}