uniform float4 u1;float a(){return u1.x;}uniform float4 u2;float b(){float c=0.;for(int d=0;d<4;++d){c+=u2[d];}return c;}uniform float4 u3;float c(){float d=1.;for(int e=0;e<4;++e){d*=u3[e<2?0:e];}return d;}uniform float4 u4;float d(){for(int e=7;e<8;e++){return u4[e];}}float4 main(float2 e){return float4(a(),b(),c(),d());} |