3 #extension GL_EXT_spirv_intrinsics: enable
\r
5 spirv_instruction (set = "GLSL.std.450", id = 35) // modf
\r
6 float modf(float x, spirv_by_reference float i);
\r
8 layout(location = 0) in float floatIn;
\r
9 layout(location = 0) out vec2 vec2Out;
\r
10 layout(location = 1) out float floatOut;
\r
12 void func(spirv_by_reference float f)
\r
19 vec2Out.x = modf(floatIn, vec2Out.y);
\r