xref: /aosp_15_r20/external/skia/tests/sksl/runtime/ArrayNarrowingConversions.minified.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1uniform half4 colorGreen;uniform half4 colorRed;half4 main(float2 a){int b[2]=int[2](1,2);short c[2]=short[2](1,2);float d[2]=float[2](1.,2.);half e[2]=half[2](1.,2.);b=int[2](c);c=short[2](b);d=float[2](e);e=half[2](d);return((b==int[2](c)&&d==float[2](e))&&b==int[2](1,2))&&float[2](e)==float[2](1.,2.)?colorGreen:colorRed;}
2