xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/hlsl.swizzle.frag (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1static float4 AmbientColor = float4(1, 0.5, 0, 1);
2
3float4 ShaderFunction(float4 input) : COLOR0
4{
5    return input.wwyx * float4(AmbientColor.z);
6}
7