Lines Matching defs:ivec4
17 int4 ivec4;
31 ivec4 = (int4)5.0f;
32 ivec4 = (int4)5;
33 ivec4 = (int4)vec4_3;
35 i = (int)ivec4; // expected-error {{invalid conversion between vector type 'int4' (vector of 4 'int' values) and integer type 'int' of different size}}
36 i = ivec4; // expected-error {{assigning to 'int' from incompatible type 'int4' (vector of 4 'int' values)}}
38 ivec4 = (int4)ptr; // expected-error {{invalid conversion between vector type 'int4' (vector of 4 'int' values) and scalar type 'int *'}}
43 ivec4 *= 5;
46 ivec4 %= 4;
47 ivec4 += vec4; // expected-error {{cannot convert between vector values of different size ('int4' (vector of 4 'int' values) and 'float4' (vector of 4 'float' values))}}
48 ivec4 += (int4)vec4;
49 ivec4 -= ivec4;
50 ivec4 |= ivec4;
51 ivec4 += ptr; // expected-error {{cannot convert between vector and non-scalar values ('int4' (vector of 4 'int' values) and 'int *')}}