Home
last modified time | relevance | path

Searched refs:i4 (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/third_party/glslang/Test/
Dglsl.es320.subgroupArithmetic.comp10 ivec4 i4;
23 data[1].i4.x = subgroupAdd(data[0].i4.x);
24 data[1].i4.xy = subgroupAdd(data[1].i4.xy);
25 data[1].i4.xyz = subgroupAdd(data[2].i4.xyz);
26 data[1].i4 = subgroupAdd(data[3].i4);
38 data[0].i4.x = subgroupMul(data[0].i4.x);
39 data[0].i4.xy = subgroupMul(data[1].i4.xy);
40 data[0].i4.xyz = subgroupMul(data[2].i4.xyz);
41 data[0].i4 = subgroupMul(data[3].i4);
53 data[3].i4.x = subgroupMin(data[0].i4.x);
[all …]
Dglsl.es320.subgroupPartitioned.comp10 ivec4 i4;
25 data[0].u4 = subgroupPartitionNV(data[0].i4.x);
26 data[0].u4 = subgroupPartitionNV(data[0].i4.xy);
27 data[0].u4 = subgroupPartitionNV(data[0].i4.xyz);
28 data[0].u4 = subgroupPartitionNV(data[0].i4);
35 data[1].u4 = subgroupPartitionNV(bool(data[0].i4.x));
36 data[1].u4 = subgroupPartitionNV(bvec2(data[0].i4.xy));
37 data[1].u4 = subgroupPartitionNV(bvec3(data[0].i4.xyz));
38 data[1].u4 = subgroupPartitionNV(bvec4(data[0].i4));
45 data[1].i4.x = subgroupPartitionedAddNV(data[0].i4.x, ballot);
[all …]
Dspv.vulkan100.subgroupArithmetic.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupAdd(data[0].i4.x);
25 data[invocation].i4.xy = subgroupAdd(data[1].i4.xy);
26 data[invocation].i4.xyz = subgroupAdd(data[2].i4.xyz);
27 data[invocation].i4 = subgroupAdd(data[3].i4);
44 data[invocation].i4.x = subgroupMul(data[0].i4.x);
45 data[invocation].i4.xy = subgroupMul(data[1].i4.xy);
46 data[invocation].i4.xyz = subgroupMul(data[2].i4.xyz);
47 data[invocation].i4 = subgroupMul(data[3].i4);
64 data[invocation].i4.x = subgroupMin(data[0].i4.x);
[all …]
Dspv.subgroupArithmetic.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupAdd(data[0].i4.x);
25 data[invocation].i4.xy = subgroupAdd(data[1].i4.xy);
26 data[invocation].i4.xyz = subgroupAdd(data[2].i4.xyz);
27 data[invocation].i4 = subgroupAdd(data[3].i4);
44 data[invocation].i4.x = subgroupMul(data[0].i4.x);
45 data[invocation].i4.xy = subgroupMul(data[1].i4.xy);
46 data[invocation].i4.xyz = subgroupMul(data[2].i4.xyz);
47 data[invocation].i4 = subgroupMul(data[3].i4);
64 data[invocation].i4.x = subgroupMin(data[0].i4.x);
[all …]
Dglsl.450.subgroupArithmetic.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupAdd(data[0].i4.x);
25 data[invocation].i4.xy = subgroupAdd(data[1].i4.xy);
26 data[invocation].i4.xyz = subgroupAdd(data[2].i4.xyz);
27 data[invocation].i4 = subgroupAdd(data[3].i4);
44 data[invocation].i4.x = subgroupMul(data[0].i4.x);
45 data[invocation].i4.xy = subgroupMul(data[1].i4.xy);
46 data[invocation].i4.xyz = subgroupMul(data[2].i4.xyz);
47 data[invocation].i4 = subgroupMul(data[3].i4);
64 data[invocation].i4.x = subgroupMin(data[0].i4.x);
[all …]
Dglsl.es320.subgroupQuad.comp10 ivec4 i4;
23 data[0].i4.x = subgroupQuadBroadcast(data[0].i4.x, 1u);
24 data[0].i4.xy = subgroupQuadBroadcast(data[1].i4.xy, 1u);
25 data[0].i4.xyz = subgroupQuadBroadcast(data[2].i4.xyz, 1u);
26 data[0].i4 = subgroupQuadBroadcast(data[3].i4, 1u);
33 data[1].i4.x = int(subgroupQuadBroadcast(data[0].i4.x < 0, 1u));
34 data[1].i4.xy = ivec2(subgroupQuadBroadcast(lessThan(data[1].i4.xy, ivec2(0)), 1u));
35 data[1].i4.xyz = ivec3(subgroupQuadBroadcast(lessThan(data[1].i4.xyz, ivec3(0)), 1u));
36 data[1].i4 = ivec4(subgroupQuadBroadcast(lessThan(data[1].i4, ivec4(0)), 1u));
43 data[1].i4.x = subgroupQuadSwapHorizontal(data[0].i4.x);
[all …]
Dglsl.es320.subgroupClustered.comp10 ivec4 i4;
23 data[1].i4.x = subgroupClusteredAdd(data[0].i4.x, 1u);
24 data[1].i4.xy = subgroupClusteredAdd(data[1].i4.xy, 1u);
25 data[1].i4.xyz = subgroupClusteredAdd(data[2].i4.xyz, 1u);
26 data[1].i4 = subgroupClusteredAdd(data[3].i4, 1u);
38 data[0].i4.x = subgroupClusteredMul(data[0].i4.x, 1u);
39 data[0].i4.xy = subgroupClusteredMul(data[1].i4.xy, 1u);
40 data[0].i4.xyz = subgroupClusteredMul(data[2].i4.xyz, 1u);
41 data[0].i4 = subgroupClusteredMul(data[3].i4, 1u);
53 data[3].i4.x = subgroupClusteredMin(data[0].i4.x, 1u);
[all …]
Dglsl.450.subgroupPartitioned.comp10 ivec4 i4;
26 data[invocation].u4 = subgroupPartitionNV(data[0].i4.x);
27 data[invocation].u4 = subgroupPartitionNV(data[0].i4.xy);
28 data[invocation].u4 = subgroupPartitionNV(data[0].i4.xyz);
29 data[invocation].u4 = subgroupPartitionNV(data[0].i4);
41 data[invocation].u4 = subgroupPartitionNV(bool(data[0].i4.x));
42 data[invocation].u4 = subgroupPartitionNV(bvec2(data[0].i4.xy));
43 data[invocation].u4 = subgroupPartitionNV(bvec3(data[0].i4.xyz));
44 data[invocation].u4 = subgroupPartitionNV(bvec4(data[0].i4));
51 data[invocation].i4.x = subgroupPartitionedAddNV(data[0].i4.x, ballot);
[all …]
Dspv.subgroupPartitioned.comp10 ivec4 i4;
26 data[invocation].u4 = subgroupPartitionNV(data[0].i4.x);
27 data[invocation].u4 = subgroupPartitionNV(data[0].i4.xy);
28 data[invocation].u4 = subgroupPartitionNV(data[0].i4.xyz);
29 data[invocation].u4 = subgroupPartitionNV(data[0].i4);
41 data[invocation].u4 = subgroupPartitionNV(bool(data[0].i4.x));
42 data[invocation].u4 = subgroupPartitionNV(bvec2(data[0].i4.xy));
43 data[invocation].u4 = subgroupPartitionNV(bvec3(data[0].i4.xyz));
44 data[invocation].u4 = subgroupPartitionNV(bvec4(data[0].i4));
51 data[invocation].i4.x = subgroupPartitionedAddNV(data[0].i4.x, ballot);
[all …]
Dspv.vulkan100.subgroupPartitioned.comp10 ivec4 i4;
26 data[invocation].u4 = subgroupPartitionNV(data[0].i4.x);
27 data[invocation].u4 = subgroupPartitionNV(data[0].i4.xy);
28 data[invocation].u4 = subgroupPartitionNV(data[0].i4.xyz);
29 data[invocation].u4 = subgroupPartitionNV(data[0].i4);
41 data[invocation].u4 = subgroupPartitionNV(bool(data[0].i4.x));
42 data[invocation].u4 = subgroupPartitionNV(bvec2(data[0].i4.xy));
43 data[invocation].u4 = subgroupPartitionNV(bvec3(data[0].i4.xyz));
44 data[invocation].u4 = subgroupPartitionNV(bvec4(data[0].i4));
51 data[invocation].i4.x = subgroupPartitionedAddNV(data[0].i4.x, ballot);
[all …]
Dspv.subgroupClustered.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupClusteredAdd(data[0].i4.x, 1);
25 data[invocation].i4.xy = subgroupClusteredAdd(data[1].i4.xy, 1);
26 data[invocation].i4.xyz = subgroupClusteredAdd(data[2].i4.xyz, 1);
27 data[invocation].i4 = subgroupClusteredAdd(data[3].i4, 1);
44 data[invocation].i4.x = subgroupClusteredMul(data[0].i4.x, 1);
45 data[invocation].i4.xy = subgroupClusteredMul(data[1].i4.xy, 1);
46 data[invocation].i4.xyz = subgroupClusteredMul(data[2].i4.xyz, 1);
47 data[invocation].i4 = subgroupClusteredMul(data[3].i4, 1);
64 data[invocation].i4.x = subgroupClusteredMin(data[0].i4.x, 1);
[all …]
Dglsl.450.subgroupClustered.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupClusteredAdd(data[0].i4.x, 1);
25 data[invocation].i4.xy = subgroupClusteredAdd(data[1].i4.xy, 1);
26 data[invocation].i4.xyz = subgroupClusteredAdd(data[2].i4.xyz, 1);
27 data[invocation].i4 = subgroupClusteredAdd(data[3].i4, 1);
44 data[invocation].i4.x = subgroupClusteredMul(data[0].i4.x, 1);
45 data[invocation].i4.xy = subgroupClusteredMul(data[1].i4.xy, 1);
46 data[invocation].i4.xyz = subgroupClusteredMul(data[2].i4.xyz, 1);
47 data[invocation].i4 = subgroupClusteredMul(data[3].i4, 1);
64 data[invocation].i4.x = subgroupClusteredMin(data[0].i4.x, 1);
[all …]
Dglsl.450.subgroupQuad.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupQuadBroadcast(data[0].i4.x, 1);
25 data[invocation].i4.xy = subgroupQuadBroadcast(data[1].i4.xy, 1);
26 data[invocation].i4.xyz = subgroupQuadBroadcast(data[2].i4.xyz, 1);
27 data[invocation].i4 = subgroupQuadBroadcast(data[3].i4, 1);
39 data[invocation].i4.x = int(subgroupQuadBroadcast(data[0].i4.x < 0, 1));
40 data[invocation].i4.xy = ivec2(subgroupQuadBroadcast(lessThan(data[1].i4.xy, ivec2(0)), 1));
41 data[invocation].i4.xyz = ivec3(subgroupQuadBroadcast(lessThan(data[1].i4.xyz, ivec3(0)), 1));
42 data[invocation].i4 = ivec4(subgroupQuadBroadcast(lessThan(data[1].i4, ivec4(0)), 1));
49 data[invocation].i4.x = subgroupQuadSwapHorizontal(data[0].i4.x);
[all …]
Dspv.subgroupQuad.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupQuadBroadcast(data[0].i4.x, 1);
25 data[invocation].i4.xy = subgroupQuadBroadcast(data[1].i4.xy, 1);
26 data[invocation].i4.xyz = subgroupQuadBroadcast(data[2].i4.xyz, 1);
27 data[invocation].i4 = subgroupQuadBroadcast(data[3].i4, 1);
39 data[invocation].i4.x = int(subgroupQuadBroadcast(data[0].i4.x < 0, 1));
40 data[invocation].i4.xy = ivec2(subgroupQuadBroadcast(lessThan(data[1].i4.xy, ivec2(0)), 1));
41 data[invocation].i4.xyz = ivec3(subgroupQuadBroadcast(lessThan(data[1].i4.xyz, ivec3(0)), 1));
42 data[invocation].i4 = ivec4(subgroupQuadBroadcast(lessThan(data[1].i4, ivec4(0)), 1));
49 data[invocation].i4.x = subgroupQuadSwapHorizontal(data[0].i4.x);
[all …]
Dglsl.es320.subgroupShuffleRelative.comp10 ivec4 i4;
23 data[0].i4.x = subgroupShuffleUp(data[0].i4.x, invocation);
24 data[0].i4.xy = subgroupShuffleUp(data[1].i4.xy, invocation);
25 data[0].i4.xyz = subgroupShuffleUp(data[2].i4.xyz, invocation);
26 data[0].i4 = subgroupShuffleUp(data[3].i4, invocation);
33 data[1].i4.x = int(subgroupShuffleUp(data[0].i4.x < 0, invocation));
34 data[1].i4.xy = ivec2(subgroupShuffleUp(lessThan(data[1].i4.xy, ivec2(0)), invocation));
35 data[1].i4.xyz = ivec3(subgroupShuffleUp(lessThan(data[1].i4.xyz, ivec3(0)), invocation));
36 data[1].i4 = ivec4(subgroupShuffleUp(lessThan(data[1].i4, ivec4(0)), invocation));
43 data[2].i4.x = subgroupShuffleDown(data[0].i4.x, invocation);
[all …]
Dglsl.es320.subgroupShuffle.comp10 ivec4 i4;
23 data[0].i4.x = subgroupShuffle(data[0].i4.x, invocation);
24 data[0].i4.xy = subgroupShuffle(data[1].i4.xy, invocation);
25 data[0].i4.xyz = subgroupShuffle(data[2].i4.xyz, invocation);
26 data[0].i4 = subgroupShuffle(data[3].i4, invocation);
33 data[1].i4.x = int(subgroupShuffle(data[0].i4.x < 0, invocation));
34 data[1].i4.xy = ivec2(subgroupShuffle(lessThan(data[1].i4.xy, ivec2(0)), invocation));
35 data[1].i4.xyz = ivec3(subgroupShuffle(lessThan(data[1].i4.xyz, ivec3(0)), invocation));
36 data[1].i4 = ivec4(subgroupShuffle(lessThan(data[1].i4, ivec4(0)), invocation));
43 data[2].i4.x = subgroupShuffleXor(data[0].i4.x, invocation);
[all …]
Dglsl.es320.subgroupBallot.comp10 ivec4 i4;
38 data[2].i4.x = subgroupBroadcast(data[0].i4.x, 2u);
39 data[2].i4.xy = subgroupBroadcast(data[1].i4.xy, 2u);
40 data[2].i4.xyz = subgroupBroadcast(data[2].i4.xyz, 2u);
41 data[2].i4 = subgroupBroadcast(data[3].i4, 2u);
48 data[0].i4.x = int(subgroupBroadcast(data[0].i4.x < 0, 1u));
49 data[0].i4.xy = ivec2(subgroupBroadcast(lessThan(data[1].i4.xy, ivec2(0)), 1u));
50 data[0].i4.xyz = ivec3(subgroupBroadcast(lessThan(data[1].i4.xyz, ivec3(0)), 1u));
51 data[0].i4 = ivec4(subgroupBroadcast(lessThan(data[1].i4, ivec4(0)), 1u));
60 data[2].i4.x = subgroupBroadcastFirst(data[0].i4.x);
[all …]
Dspv.subgroupShuffleRelative.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupShuffleUp(data[0].i4.x, invocation);
25 data[invocation].i4.xy = subgroupShuffleUp(data[1].i4.xy, invocation);
26 data[invocation].i4.xyz = subgroupShuffleUp(data[2].i4.xyz, invocation);
27 data[invocation].i4 = subgroupShuffleUp(data[3].i4, invocation);
39 …data[invocation].i4.x = int(subgroupShuffleUp(data[0].i4.x < 0, invocation));
40 …data[invocation].i4.xy = ivec2(subgroupShuffleUp(lessThan(data[1].i4.xy, ivec2(0)), invocation));
41 …data[invocation].i4.xyz = ivec3(subgroupShuffleUp(lessThan(data[1].i4.xyz, ivec3(0)), invocation));
42 …data[invocation].i4 = ivec4(subgroupShuffleUp(lessThan(data[1].i4, ivec4(0)), invocation));
49 data[invocation].i4.x = subgroupShuffleDown(data[0].i4.x, invocation);
[all …]
Dglsl.450.subgroupShuffle.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupShuffle(data[0].i4.x, invocation);
25 data[invocation].i4.xy = subgroupShuffle(data[1].i4.xy, invocation);
26 data[invocation].i4.xyz = subgroupShuffle(data[2].i4.xyz, invocation);
27 data[invocation].i4 = subgroupShuffle(data[3].i4, invocation);
39 … data[invocation].i4.x = int(subgroupShuffle(data[0].i4.x < 0, invocation));
40 … data[invocation].i4.xy = ivec2(subgroupShuffle(lessThan(data[1].i4.xy, ivec2(0)), invocation));
41 … data[invocation].i4.xyz = ivec3(subgroupShuffle(lessThan(data[1].i4.xyz, ivec3(0)), invocation));
42 … data[invocation].i4 = ivec4(subgroupShuffle(lessThan(data[1].i4, ivec4(0)), invocation));
49 data[invocation].i4.x = subgroupShuffleXor(data[0].i4.x, invocation);
[all …]
Dglsl.450.subgroupShuffleRelative.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupShuffleUp(data[0].i4.x, invocation);
25 data[invocation].i4.xy = subgroupShuffleUp(data[1].i4.xy, invocation);
26 data[invocation].i4.xyz = subgroupShuffleUp(data[2].i4.xyz, invocation);
27 data[invocation].i4 = subgroupShuffleUp(data[3].i4, invocation);
39 …data[invocation].i4.x = int(subgroupShuffleUp(data[0].i4.x < 0, invocation));
40 …data[invocation].i4.xy = ivec2(subgroupShuffleUp(lessThan(data[1].i4.xy, ivec2(0)), invocation));
41 …data[invocation].i4.xyz = ivec3(subgroupShuffleUp(lessThan(data[1].i4.xyz, ivec3(0)), invocation));
42 …data[invocation].i4 = ivec4(subgroupShuffleUp(lessThan(data[1].i4, ivec4(0)), invocation));
49 data[invocation].i4.x = subgroupShuffleDown(data[0].i4.x, invocation);
[all …]
Dglsl.450.subgroupBallot.comp10 ivec4 i4;
39 data[invocation].i4.x = subgroupBroadcast(data[0].i4.x, 2);
40 data[invocation].i4.xy = subgroupBroadcast(data[1].i4.xy, 2);
41 data[invocation].i4.xyz = subgroupBroadcast(data[2].i4.xyz, 2);
42 data[invocation].i4 = subgroupBroadcast(data[3].i4, 2);
54 data[invocation].i4.x = int(subgroupBroadcast(data[0].i4.x < 0, 1));
55 data[invocation].i4.xy = ivec2(subgroupBroadcast(lessThan(data[1].i4.xy, ivec2(0)), 1));
56 data[invocation].i4.xyz = ivec3(subgroupBroadcast(lessThan(data[1].i4.xyz, ivec3(0)), 1));
57 data[invocation].i4 = ivec4(subgroupBroadcast(lessThan(data[1].i4, ivec4(0)), 1));
66 data[invocation].i4.x = subgroupBroadcastFirst(data[0].i4.x);
[all …]
Dspv.subgroupShuffle.comp10 ivec4 i4;
24 data[invocation].i4.x = subgroupShuffle(data[0].i4.x, invocation);
25 data[invocation].i4.xy = subgroupShuffle(data[1].i4.xy, invocation);
26 data[invocation].i4.xyz = subgroupShuffle(data[2].i4.xyz, invocation);
27 data[invocation].i4 = subgroupShuffle(data[3].i4, invocation);
39 … data[invocation].i4.x = int(subgroupShuffle(data[0].i4.x < 0, invocation));
40 … data[invocation].i4.xy = ivec2(subgroupShuffle(lessThan(data[1].i4.xy, ivec2(0)), invocation));
41 … data[invocation].i4.xyz = ivec3(subgroupShuffle(lessThan(data[1].i4.xyz, ivec3(0)), invocation));
42 … data[invocation].i4 = ivec4(subgroupShuffle(lessThan(data[1].i4, ivec4(0)), invocation));
49 data[invocation].i4.x = subgroupShuffleXor(data[0].i4.x, invocation);
[all …]
Dspv.subgroupBallot.comp10 ivec4 i4;
39 data[invocation].i4.x = subgroupBroadcast(data[0].i4.x, 2);
40 data[invocation].i4.xy = subgroupBroadcast(data[1].i4.xy, 2);
41 data[invocation].i4.xyz = subgroupBroadcast(data[2].i4.xyz, 2);
42 data[invocation].i4 = subgroupBroadcast(data[3].i4, 2);
54 data[invocation].i4.x = int(subgroupBroadcast(data[0].i4.x < 0, 1));
55 data[invocation].i4.xy = ivec2(subgroupBroadcast(lessThan(data[1].i4.xy, ivec2(0)), 1));
56 data[invocation].i4.xyz = ivec3(subgroupBroadcast(lessThan(data[1].i4.xyz, ivec3(0)), 1));
57 data[invocation].i4 = ivec4(subgroupBroadcast(lessThan(data[1].i4, ivec4(0)), 1));
66 data[invocation].i4.x = subgroupBroadcastFirst(data[0].i4.x);
[all …]
/third_party/skia/resources/sksl/shared/
DOverflow.sksl30 const int4 i4 = int4(2, 2, 2, 2);
31 int4 hugeIvec = i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 *
32 i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 *
33 i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4 * i4;
/third_party/boost/libs/compute/test/
Dtest_types.cpp21 boost::compute::int4_ i4(1, 2, 3, 4); in BOOST_AUTO_TEST_CASE() local
22 BOOST_CHECK(i4 == boost::compute::int4_(1, 2, 3, 4)); in BOOST_AUTO_TEST_CASE()
23 BOOST_CHECK_EQUAL(i4, boost::compute::int4_(1, 2, 3, 4)); in BOOST_AUTO_TEST_CASE()
24 BOOST_CHECK_EQUAL(i4[0], 1); in BOOST_AUTO_TEST_CASE()
25 BOOST_CHECK_EQUAL(i4[1], 2); in BOOST_AUTO_TEST_CASE()
26 BOOST_CHECK_EQUAL(i4[2], 3); in BOOST_AUTO_TEST_CASE()
27 BOOST_CHECK_EQUAL(i4[3], 4); in BOOST_AUTO_TEST_CASE()
29 i4 = boost::compute::int4_(1); in BOOST_AUTO_TEST_CASE()
30 BOOST_CHECK(i4 == boost::compute::int4_(1, 1, 1, 1)); in BOOST_AUTO_TEST_CASE()
31 BOOST_CHECK(i4 == (boost::compute::vector_type<int, size_t(4)>(1))); in BOOST_AUTO_TEST_CASE()
[all …]

12345678910>>...15