mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
7 lines
93 B
GLSL
7 lines
93 B
GLSL
|
float4 main() : SV_Target0
|
||
|
{
|
||
|
float4 test = { 0, 1, 2, 3 };
|
||
|
|
||
|
return length(test.a);
|
||
|
}
|