1cb93a386Sopenharmony_ciuniform half4 inputVal; 2cb93a386Sopenharmony_ciuniform half4 colorGreen, colorRed; 3cb93a386Sopenharmony_ci 4cb93a386Sopenharmony_cihalf4 main(float2 coords) { 5cb93a386Sopenharmony_ci const half4 constVal = half4(3, 0, 4, 12); 6cb93a386Sopenharmony_ci half4 expected = half4(3, 3, 5, 13); 7cb93a386Sopenharmony_ci 8cb93a386Sopenharmony_ci return (length(inputVal.x) == expected.x && 9cb93a386Sopenharmony_ci length(inputVal.xy) == expected.y && 10cb93a386Sopenharmony_ci length(inputVal.xyz) == expected.z && 11cb93a386Sopenharmony_ci length(inputVal.xyzw) == expected.w && 12cb93a386Sopenharmony_ci length(constVal.x) == expected.x && 13cb93a386Sopenharmony_ci length(constVal.xy) == expected.y && 14cb93a386Sopenharmony_ci length(constVal.xyz) == expected.z && 15cb93a386Sopenharmony_ci length(constVal.xyzw) == expected.w) ? colorGreen : colorRed; 16cb93a386Sopenharmony_ci} 17