Home
last modified time | relevance | path

Searched refs:int4 (Results 1 – 25 of 160) sorted by relevance

1234567

/external/clang/test/CodeGenOpenCL/
Dvector_literals_valid.cl5 typedef __attribute__(( ext_vector_type(4) )) int int4;
10 int4 a_1_1_1_1 = (int4)(1,2,3,4);
11 int4 a_2_1_1 = (int4)((int2)(1,2),3,4);
12 int4 a_1_2_1 = (int4)(1,(int2)(2,3),4);
13 int4 a_1_1_2 = (int4)(1,2,(int2)(3,4));
14 int4 a_2_2 = (int4)((int2)(1,2),(int2)(3,4));
15 int4 a_3_1 = (int4)((int3)(1,2,3),4);
16 int4 a_1_3 = (int4)(1,(int3)(2,3,4));
17 int4 a = (int4)(1);
Dshifts.cl46 typedef __attribute__((ext_vector_type(4))) int int4;
49 int4 vectorVectorTest(int4 a,int4 b) {
52 int4 c = a << b;
54 int4 d = {1, 1, 1, 1};
55 int4 e = {33, 34, -28, -29};
56 int4 f = c + (d << e);
62 int4 vectorScalarTest(int4 a,int b) {
67 int4 c = a << b;
69 int4 d = {1, 1, 1, 1};
70 int4 f = c + (d << 34);
/external/deqp-deps/glslang/Test/
Dhlsl.params.default.frag1 uniform int4 ui4;
7 // int4 fn1(int4 p0) { return int4(1,2,3,4); }
9 int4 fn1(int4 p0, bool b1, bool b2 = false) {
13 int4 fn1(int4 p0,
14 int4 p1 : FOO = int4(-1,-2,-3, cia),
22 int4 fn2(int4 p0, int x = 3)
24 return int4(10,11,12,13);
27 int4 fn2(int4 p0, float x = sin(3.3)) // OK to have a const expression as a default value
29 return p0 + int4(20,21,22,23);
35 int4 main() : SV_Target0
[all …]
Dhlsl.params.default.negative.frag1 uniform int4 ui4;
7 int4 fn1(int4 p0) { return int4(1,2,3,4); }
9 int4 fn1(int4 p0, bool b1, bool b2 = false) {
13 int4 fn1(int4 p0,
14 int4 p1 : FOO = int4(-1,-2,-3, cia),
22 int4 fn2(int4 p0, int x = 3)
24 return int4(10,11,12,13);
27 int4 fn2(int4 p0, float x = ufvar) // ERROR: non-const expression
29 return p0 + int4(20,21,22,23);
36 int4 main() : SV_Target0
[all …]
Dhlsl.rw.bracket.frag4 RWTexture1D <int4> g_tTex1di4;
8 RWTexture2D <int4> g_tTex2di4;
12 RWTexture3D <int4> g_tTex3di4;
16 RWTexture1DArray <int4> g_tTex1di4a;
20 RWTexture2DArray <int4> g_tTex2di4a;
31 uniform int4 c4;
36 uniform int4 o4;
39 uniform int4 ui4;
42 int4 Fn1(in int4 x) { return x; }
46 void Fn2(out int4 x) { x = int4(0); }
[all …]
Dhlsl.gatherRGBA.offset.dx10.frag7 Texture1D <int4> g_tTex1di4;
11 Texture2D <int4> g_tTex2di4;
15 Texture3D <int4> g_tTex3di4;
19 TextureCube <int4> g_tTexcdi4;
36 uniform int4 o4;
47 int4 txval011 = g_tTex2di4 . GatherRed(g_sSamp, c2, o2);
51 int4 txval014 = g_tTex2di4 . GatherRed(g_sSamp, c2, o2, o2, o2, o2);
55 // int4 txval01s = g_tTex2di4 . GatherRed(g_sSamp, c2, o2, status);
59 // int4 txval014s = g_tTex2di4 . GatherRed(g_sSamp, c2, o2, o2, o2, o2, status);
63 int4 txval111 = g_tTex2di4 . GatherGreen(g_sSamp, c2, o2);
[all …]
Dhlsl.tx.bracket.frag4 Texture1D <int4> g_tTex1di4;
8 Texture2D <int4> g_tTex2di4;
12 Texture3D <int4> g_tTex3di4;
16 Texture1DArray <int4> g_tTex1di4a;
20 Texture2DArray <int4> g_tTex2di4a;
31 uniform int4 c4;
36 uniform int4 o4;
38 int4 Fn1(in int4 x) { return x; }
52 int4 r01 = g_tTex1di4[c1];
57 int4 r11 = g_tTex2di4[c2];
[all …]
Dhlsl.gathercmpRGBA.basic.dx10.frag6 Texture1D <int4> g_tTex1di4;
10 Texture2D <int4> g_tTex2di4;
14 Texture3D <int4> g_tTex3di4;
18 TextureCube <int4> g_tTexcdi4;
39 int4 txval01 = g_tTex2di4 . GatherCmpRed(g_sSampCmp, c2, 0.75);
43 int4 txval11 = g_tTex2di4 . GatherCmpGreen(g_sSampCmp, c2, 0.75);
47 int4 txval21 = g_tTex2di4 . GatherCmpBlue(g_sSampCmp, c2, 0.75);
51 int4 txval31 = g_tTex2di4 . GatherCmpAlpha(g_sSampCmp, c2, 0.75);
55 int4 txval81 = g_tTex2di4 . GatherCmp(g_sSampCmp, c2, 0.75);
61 int4 txval41 = g_tTexcdi4 . GatherCmpRed(g_sSampCmp, c3, 0.75);
[all …]
Dhlsl.gathercmpRGBA.offsetarray.dx10.frag4 Texture1DArray <int4> g_tTex1di4a;
8 Texture2DArray <int4> g_tTex2di4a;
12 TextureCubeArray <int4> g_tTexcdi4a;
29 uniform int4 o4;
40 int4 txval411 = g_tTex2di4a . GatherCmp(g_sSampCmp, c3, 0.75, o2);
44 int4 txval011 = g_tTex2di4a . GatherCmpRed(g_sSampCmp, c3, 0.75, o2);
48 int4 txval014 = g_tTex2di4a . GatherCmpRed(g_sSampCmp, c3, 0.75, o2, o2, o2, o2);
52 // int4 txval01s = g_tTex2di4a . GatherCmpRed(g_sSampCmp, c3, 0.75, o2, status);
56 // int4 txval014s = g_tTex2di4a . GatherCmpRed(g_sSampCmp, c3, 0.75, o2, o2, o2, o2, status);
60 int4 txval111 = g_tTex2di4a . GatherCmpGreen(g_sSampCmp, c3, 0.75, o2);
[all …]
Dhlsl.gatherRGBA.offsetarray.dx10.frag5 Texture1DArray <int4> g_tTex1di4a;
9 Texture2DArray <int4> g_tTex2di4a;
13 TextureCubeArray <int4> g_tTexcdi4a;
30 uniform int4 o4;
41 int4 txval011 = g_tTex2di4a . GatherRed(g_sSamp, c3, o2);
45 int4 txval014 = g_tTex2di4a . GatherRed(g_sSamp, c3, o2, o2, o2, o2);
49 // int4 txval01s = g_tTex2di4a . GatherRed(g_sSamp, c3, o2, status);
53 // int4 txval014s = g_tTex2di4a . GatherRed(g_sSamp, c3, o2, o2, o2, o2, status);
57 int4 txval111 = g_tTex2di4a . GatherGreen(g_sSamp, c3, o2);
61 int4 txval114 = g_tTex2di4a . GatherGreen(g_sSamp, c3, o2, o2, o2, o2);
[all …]
Dhlsl.gathercmpRGBA.offset.dx10.frag6 Texture1D <int4> g_tTex1di4;
10 Texture2D <int4> g_tTex2di4;
14 Texture3D <int4> g_tTex3di4;
18 TextureCube <int4> g_tTexcdi4;
46 int4 txval011 = g_tTex2di4 . GatherCmpRed(g_sSampCmp, c2, 0.75, int2(1,-1));
50int4 txval014 = g_tTex2di4 . GatherCmpRed(g_sSampCmp, c2, 0.75, int2(1,-1), int2(1,-1), int2(1,-…
54 int4 txval411 = g_tTex2di4 . GatherCmp(g_sSampCmp, c2, 0.75, int2(1,-1));
59 // int4 txval111 = g_tTex2di4 . GatherCmpGreen(g_sSampCmp, c2, 0.75, int2(1,0));
63 …// int4 txval114 = g_tTex2di4 . GatherCmpGreen(g_sSampCmp, c2, 0.75, int2(1,0), int2(1,0), int2(…
67 // int4 txval11s = g_tTex2di4 . GatherCmpGreen(g_sSampCmp, c2, 0.75, int2(1,0), status);
[all …]
Dhlsl.gatherRGBA.basic.dx10.frag7 Texture1D <int4> g_tTex1di4;
11 Texture2D <int4> g_tTex2di4;
15 Texture3D <int4> g_tTex3di4;
19 TextureCube <int4> g_tTexcdi4;
40 int4 txval01 = g_tTex2di4 . GatherRed(g_sSamp, c2);
44 int4 txval11 = g_tTex2di4 . GatherGreen(g_sSamp, c2);
48 int4 txval21 = g_tTex2di4 . GatherBlue(g_sSamp, c2);
52 int4 txval31 = g_tTex2di4 . GatherAlpha(g_sSamp, c2);
58 int4 txval41 = g_tTexcdi4 . GatherRed(g_sSamp, c3);
62 int4 txval51 = g_tTexcdi4 . GatherGreen(g_sSamp, c3);
[all …]
Dhlsl.gathercmpRGBA.array.dx10.frag4 Texture1DArray <int4> g_tTex1di4a;
8 Texture2DArray <int4> g_tTex2di4a;
12 TextureCubeArray <int4> g_tTexcdi4a;
33 int4 txval81 = g_tTex2di4a . GatherCmp(g_sSampCmp, c3, .75);
37 int4 txval01 = g_tTex2di4a . GatherCmpRed(g_sSampCmp, c3, .75);
41 int4 txval11 = g_tTex2di4a . GatherCmpGreen(g_sSampCmp, c3, .75);
45 int4 txval21 = g_tTex2di4a . GatherCmpBlue(g_sSampCmp, c3, .75);
49 int4 txval31 = g_tTex2di4a . GatherCmpAlpha(g_sSampCmp, c3, .75);
55 int4 txval41 = g_tTexcdi4a . GatherCmpRed(g_sSampCmp, c4, .75);
59 int4 txval51 = g_tTexcdi4a . GatherCmpGreen(g_sSampCmp, c4, .75);
[all …]
Dhlsl.gatherRGBA.array.dx10.frag5 Texture1DArray <int4> g_tTex1di4a;
9 Texture2DArray <int4> g_tTex2di4a;
13 TextureCubeArray <int4> g_tTexcdi4a;
34 int4 txval01 = g_tTex2di4a . GatherRed(g_sSamp, c3);
38 int4 txval11 = g_tTex2di4a . GatherGreen(g_sSamp, c3);
42 int4 txval21 = g_tTex2di4a . GatherBlue(g_sSamp, c3);
46 int4 txval31 = g_tTex2di4a . GatherAlpha(g_sSamp, c3);
52 int4 txval41 = g_tTexcdi4a . GatherRed(g_sSamp, c4);
56 int4 txval51 = g_tTexcdi4a . GatherGreen(g_sSamp, c4);
60 int4 txval61 = g_tTexcdi4a . GatherBlue(g_sSamp, c4);
[all …]
Dhlsl.load.offsetarray.dx10.frag4 Texture1D <int4> g_tTex1di4;
8 Texture2D <int4> g_tTex2di4;
12 Texture3D <int4> g_tTex3di4;
16 TextureCube <int4> g_tTexcdi4;
20 Texture1DArray <int4> g_tTex1di4a;
24 Texture2DArray <int4> g_tTex2di4a;
28 TextureCubeArray <int4> g_tTexcdi4a;
40 uniform int4 c4;
45 uniform int4 o4;
Dhlsl.load.array.dx10.frag4 Texture1D <int4> g_tTex1di4;
8 Texture2D <int4> g_tTex2di4;
12 Texture3D <int4> g_tTex3di4;
16 TextureCube <int4> g_tTexcdi4;
20 Texture1DArray <int4> g_tTex1di4a;
24 Texture2DArray <int4> g_tTex2di4a;
28 TextureCubeArray <int4> g_tTexcdi4a;
40 uniform int4 c4;
45 uniform int4 o4;
Dhlsl.load.basic.dx10.vert4 Texture1D <int4> g_tTex1di4;
8 Texture2D <int4> g_tTex2di4;
12 Texture3D <int4> g_tTex3di4;
16 TextureCube <int4> g_tTexcdi4;
20 Texture1DArray <int4> g_tTex1di4a;
24 Texture2DArray <int4> g_tTex2di4a;
28 TextureCubeArray <int4> g_tTexcdi4a;
39 uniform int4 c4;
44 uniform int4 o4;
Dhlsl.load.basic.dx10.frag4 Texture1D <int4> g_tTex1di4;
8 Texture2D <int4> g_tTex2di4;
12 Texture3D <int4> g_tTex3di4;
16 TextureCube <int4> g_tTexcdi4;
20 Texture1DArray <int4> g_tTex1di4a;
24 Texture2DArray <int4> g_tTex2di4a;
28 TextureCubeArray <int4> g_tTexcdi4a;
40 uniform int4 c4;
45 uniform int4 o4;
Dhlsl.load.offset.dx10.frag4 Texture1D <int4> g_tTex1di4;
8 Texture2D <int4> g_tTex2di4;
12 Texture3D <int4> g_tTex3di4;
16 TextureCube <int4> g_tTexcdi4;
20 Texture1DArray <int4> g_tTex1di4a;
24 Texture2DArray <int4> g_tTex2di4a;
28 TextureCubeArray <int4> g_tTexcdi4a;
40 uniform int4 c4;
45 uniform int4 o4;
/external/clang/test/SemaOpenCL/
Dvector_literals_const.cl6 typedef int int4 __attribute((ext_vector_type(4)));
8 __constant int4 i_1_1_1_1 = (int4)(1,2,3,4);
9 __constant int4 i_2_1_1 = (int4)((int2)(1,2),3,4);
10 __constant int4 i_1_2_1 = (int4)(1,(int2)(2,3),4);
11 __constant int4 i_1_1_2 = (int4)(1,2,(int2)(3,4));
12 __constant int4 i_2_2 = (int4)((int2)(1,2),(int2)(3,4));
13 __constant int4 i_3_1 = (int4)((int3)(1,2,3),4);
14 __constant int4 i_1_3 = (int4)(1,(int3)(2,3,4));
/external/skia/tests/
DSkVxTest.cpp24 using int4 = skvx::Vec<4,int32_t>; typedef
47 float4 IfThenElse(int4 c, float4 t, float4 e) { return if_then_else(c,t,e); } in IfThenElse()
59 int4 mask = float4{1,2,3,4} < float4{1,2,4,8}; in DEF_TEST()
83 REPORTER_ASSERT(r, all(int4{1,2,3,4,5} == int4{1,2,3,4})); in DEF_TEST()
84 REPORTER_ASSERT(r, all(int4{1,2,3,4} == int4{1,2,3,4})); in DEF_TEST()
85 REPORTER_ASSERT(r, all(int4{1,2,3} == int4{1,2,3,0})); in DEF_TEST()
86 REPORTER_ASSERT(r, all(int4{1,2} == int4{1,2,0,0})); in DEF_TEST()
87 REPORTER_ASSERT(r, all(int4{1} == int4{1,0,0,0})); in DEF_TEST()
88 REPORTER_ASSERT(r, all(int4(1) == int4{1,1,1,1})); in DEF_TEST()
89 REPORTER_ASSERT(r, all(int4{} == int4{0,0,0,0})); in DEF_TEST()
[all …]
/external/clang/test/CodeGen/
Dpalignr.c5 typedef __attribute__((vector_size(16))) int int4; typedef
8 int4 align1(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 15); } in align1()
12 int4 align2(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 16); } in align2()
14 int4 align3(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 17); } in align3()
16 int4 align4(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 32); } in align4()
Dext-vector.c5 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
119 int4 cmp; in test6()
130 void test7(int4 *ap, int4 *bp, int c) { in test7()
131 int4 a = *ap; in test7()
132 int4 b = *bp; in test7()
186 int4 cmp; in test7()
207 int4 cmp; in test8()
218 int test9(int4 V) { in test9()
225 int test10(int4 V) { in test10()
231 int4 test11a();
[all …]
/external/clang/test/CodeGenCXX/
Dvector-splat-conversion.cpp20 typedef __attribute__((__ext_vector_type__(4))) int int4; typedef
27 int4 intsT = (int4)true; in BoolConversion()
29 int4 intsF = (int4)false; in BoolConversion()
40 constexpr int4 cIntsT = (int4)true; in BoolConversion()
42 constexpr int4 cIntsF = (int4)false; in BoolConversion()
/external/clang/test/Sema/
Dext_vector_casts.c7 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
19 int4 ivec4; in test()
33 ivec4 = (int4)5.0f; in test()
34 ivec4 = (int4)5; in test()
35 ivec4 = (int4)vec4_3; in test()
40 …ivec4 = (int4)ptr; // expected-error {{invalid conversion between vector type 'int4' (vector of 4 … in test()
50 ivec4 += (int4)vec4; in test()
74 stride4 RDar15091442_get_stride4(int4 x, PixelByteStride pixelByteStride);
75 stride4 RDar15091442_get_stride4(int4 x, PixelByteStride pixelByteStride) in RDar15091442_get_stride4()
99 int4 vi = i; in splats()

1234567