Lines Matching full:assign
23 /* assign to scalar */ int i; i = 0;
24 /* assign to vector */ int4 i4; i4 = int4(1,2,3,4);
25 /* assign to matrix */ float3x3 f3x3; f3x3 = float3x3(1,2,3,4,5,6,7,8,9);
26 /* assign to swizzle */ half4 x; x.w = 0; x.yx = half2(0);
27 /* assign to array of scalar */ int ai[1]; ai[0] = 0;
28 /* assign to array of vector */ int4 ai4[1]; ai4[0] = int4(1,2,3,4);
29 /* assign to array of matrix */ half3x3 ah3x3[1]; ah3x3[0] = half3x3(1,2,3,4,5,6,7,8,9);
30 /* assign to array swizzle */ float4 af4[1]; af4[0].x = 0; af4[0].ywxz = float4(1);
32 /* assign to struct variable */ S s; s.f = 0;
33 /* assign to struct array */ s.af[1] = 0;
34 /* assign to struct swizzle */ s.h4.zxy = half3(9);
35 /* assign to struct array swizzle */ s.ah4[2].yw = half2(5);
37 /* assign to global var */ globalVar = half4(0);
38 /* assign to global struct */ globalStruct.f = 0;
40 /* assign to function parameter */ assignToFunctionParameter(0, f3x3[0][0]);
43 // /* assign to array idx by lookup */ ai[0] = 0; ai[ai[0]] = 0;
46 /* assign to folded ternary */ half l, r; (true ? l : r) = 0;
47 /* assign to unary plus */ +ai[0] += +ai4[0][0];
48 /* assign to struct unary plus */ +s.f = 1; +s.af[0] = 2;