mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-09 22:00:05 +00:00
4561ecddbd
Consider it a write to a variable, similar to OpStore.
16 lines
199 B
GLSL
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();
|
|
}
|