bgfx/3rdparty/glslang/Test/hlsl.scalar-length.frag
Branimir Karadžić 1d44a7a030 Updated glslang.
2017-03-31 19:51:51 -07:00

7 lines
93 B
GLSL

float4 main() : SV_Target0
{
float4 test = { 0, 1, 2, 3 };
return length(test.a);
}