glslang/Test/hlsl.scalar-length.frag

7 lines
93 B
GLSL
Raw Permalink Normal View History

2017-03-24 16:12:53 +00:00
float4 main() : SV_Target0
{
float4 test = { 0, 1, 2, 3 };
return length(test.a);
}