Lines Matching refs:vec4

13     float4 vec4, vec4_2, *vec4p;  in test()  local
19 vec4.xyzw; // expected-warning {{expression result unused}} in test()
20 vec4.xyzc; // expected-error {{illegal vector component name 'c'}} in test()
21 vec4.s01z; // expected-error {{illegal vector component name 'z'}} in test()
22 vec2 = vec4.s01; // legal, shorten in test()
23 vec2 = vec4.S01; // legal, shorten in test()
25 vec3 = vec4.xyz; // legal, shorten in test()
27 f = vec4.xy.x; // legal, shorten in test()
29 …vec4_2.xyzx = vec4.xyzw; // expected-error {{vector is not assignable (contains duplicate componen… in test()
30 …vec4_2.xyzz = vec4.xyzw; // expected-error {{vector is not assignable (contains duplicate componen… in test()
31 …vec4_2.xyyw = vec4.xyzw; // expected-error {{vector is not assignable (contains duplicate componen… in test()
35 vec4 = (float4){ 1,2,3,4 }; in test()
36 vec4.xy.w; // expected-error {{vector component access exceeds type 'float2'}} in test()
37 vec4.s06; // expected-error {{vector component access exceeds type 'float4'}} in test()
38 vec4.x = vec16.sf; in test()
39 vec4.x = vec16.sF; in test()
45 vec4.rgba; // expected-warning {{expression result unused}} in test()
46 vec4.rgbz; // expected-error {{illegal vector component name 'z'}} in test()
47 vec4.rgbc; // expected-error {{illegal vector component name 'c'}} in test()
48 vec4.xyzr; // expected-error {{illegal vector component name 'r'}} in test()
49 vec4.s01b; // expected-error {{vector component access exceeds type 'float4'}} in test()
51 vec3 = vec4.rgb; // legal, shorten in test()
53 f = vec4.rg.r; // legal, shorten in test()
54 vec4_2.rgba = vec4.xyzw; // legal, no intermingling in test()
56 …vec4_2.rgbr = vec4.rgba; // expected-error {{vector is not assignable (contains duplicate componen… in test()
57 …vec4_2.rgbb = vec4.rgba; // expected-error {{vector is not assignable (contains duplicate componen… in test()
58 …vec4_2.rgga = vec4.rgba; // expected-error {{vector is not assignable (contains duplicate componen… in test()
63 vec4 = (float4){ 1,2,3,4 }; in test()
64 vec4.rg.b; // expected-error {{vector component access exceeds type 'float2'}} in test()
65 vec4.r = vec16.sf; in test()
66 vec4.g = vec16.sF; in test()