/third_party/skia/resources/sksl/shared/ |
D | Overflow.sksl | 35 const uint4 u4 = uint4(2, 2, 2, 2); 36 uint4 hugeUvec = u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * 37 u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * 38 u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4 * u4;
|
/third_party/glslang/Test/ |
D | glsl.es320.subgroupArithmetic.comp | 11 uvec4 u4; 28 data[2].u4.x = subgroupAdd(data[0].u4.x); 29 data[2].u4.xy = subgroupAdd(data[1].u4.xy); 30 data[2].u4.xyz = subgroupAdd(data[2].u4.xyz); 31 data[2].u4 = subgroupAdd(data[3].u4); 43 data[1].u4.x = subgroupMul(data[0].u4.x); 44 data[1].u4.xy = subgroupMul(data[1].u4.xy); 45 data[1].u4.xyz = subgroupMul(data[2].u4.xyz); 46 data[1].u4 = subgroupMul(data[3].u4); 58 data[0].u4.x = subgroupMin(data[0].u4.x); [all …]
|
D | glsl.es320.subgroupPartitioned.comp | 11 uvec4 u4; 20 data[0].u4 = subgroupPartitionNV(data[0].f4.x); 21 data[0].u4 = subgroupPartitionNV(data[0].f4.xy); 22 data[0].u4 = subgroupPartitionNV(data[0].f4.xyz); 23 data[0].u4 = subgroupPartitionNV(data[0].f4); 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); 30 data[0].u4 = subgroupPartitionNV(data[0].u4.x); [all …]
|
D | glsl.450.subgroupPartitioned.comp | 11 uvec4 u4; 21 data[invocation].u4 = subgroupPartitionNV(data[0].f4.x); 22 data[invocation].u4 = subgroupPartitionNV(data[0].f4.xy); 23 data[invocation].u4 = subgroupPartitionNV(data[0].f4.xyz); 24 data[invocation].u4 = subgroupPartitionNV(data[0].f4); 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); 31 data[invocation].u4 = subgroupPartitionNV(data[0].u4.x); [all …]
|
D | spv.subgroupPartitioned.comp | 11 uvec4 u4; 21 data[invocation].u4 = subgroupPartitionNV(data[0].f4.x); 22 data[invocation].u4 = subgroupPartitionNV(data[0].f4.xy); 23 data[invocation].u4 = subgroupPartitionNV(data[0].f4.xyz); 24 data[invocation].u4 = subgroupPartitionNV(data[0].f4); 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); 31 data[invocation].u4 = subgroupPartitionNV(data[0].u4.x); [all …]
|
D | spv.vulkan100.subgroupPartitioned.comp | 11 uvec4 u4; 21 data[invocation].u4 = subgroupPartitionNV(data[0].f4.x); 22 data[invocation].u4 = subgroupPartitionNV(data[0].f4.xy); 23 data[invocation].u4 = subgroupPartitionNV(data[0].f4.xyz); 24 data[invocation].u4 = subgroupPartitionNV(data[0].f4); 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); 31 data[invocation].u4 = subgroupPartitionNV(data[0].u4.x); [all …]
|
D | spv.subgroupArithmetic.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupAdd(data[0].u4.x); 30 data[invocation].u4.xy = subgroupAdd(data[1].u4.xy); 31 data[invocation].u4.xyz = subgroupAdd(data[2].u4.xyz); 32 data[invocation].u4 = subgroupAdd(data[3].u4); 49 data[invocation].u4.x = subgroupMul(data[0].u4.x); 50 data[invocation].u4.xy = subgroupMul(data[1].u4.xy); 51 data[invocation].u4.xyz = subgroupMul(data[2].u4.xyz); 52 data[invocation].u4 = subgroupMul(data[3].u4); 69 data[invocation].u4.x = subgroupMin(data[0].u4.x); [all …]
|
D | spv.vulkan100.subgroupArithmetic.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupAdd(data[0].u4.x); 30 data[invocation].u4.xy = subgroupAdd(data[1].u4.xy); 31 data[invocation].u4.xyz = subgroupAdd(data[2].u4.xyz); 32 data[invocation].u4 = subgroupAdd(data[3].u4); 49 data[invocation].u4.x = subgroupMul(data[0].u4.x); 50 data[invocation].u4.xy = subgroupMul(data[1].u4.xy); 51 data[invocation].u4.xyz = subgroupMul(data[2].u4.xyz); 52 data[invocation].u4 = subgroupMul(data[3].u4); 69 data[invocation].u4.x = subgroupMin(data[0].u4.x); [all …]
|
D | glsl.450.subgroupArithmetic.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupAdd(data[0].u4.x); 30 data[invocation].u4.xy = subgroupAdd(data[1].u4.xy); 31 data[invocation].u4.xyz = subgroupAdd(data[2].u4.xyz); 32 data[invocation].u4 = subgroupAdd(data[3].u4); 49 data[invocation].u4.x = subgroupMul(data[0].u4.x); 50 data[invocation].u4.xy = subgroupMul(data[1].u4.xy); 51 data[invocation].u4.xyz = subgroupMul(data[2].u4.xyz); 52 data[invocation].u4 = subgroupMul(data[3].u4); 69 data[invocation].u4.x = subgroupMin(data[0].u4.x); [all …]
|
D | glsl.es320.subgroupClustered.comp | 11 uvec4 u4; 28 data[2].u4.x = subgroupClusteredAdd(data[0].u4.x, 1u); 29 data[2].u4.xy = subgroupClusteredAdd(data[1].u4.xy, 1u); 30 data[2].u4.xyz = subgroupClusteredAdd(data[2].u4.xyz, 1u); 31 data[2].u4 = subgroupClusteredAdd(data[3].u4, 1u); 43 data[1].u4.x = subgroupClusteredMul(data[0].u4.x, 1u); 44 data[1].u4.xy = subgroupClusteredMul(data[1].u4.xy, 1u); 45 data[1].u4.xyz = subgroupClusteredMul(data[2].u4.xyz, 1u); 46 data[1].u4 = subgroupClusteredMul(data[3].u4, 1u); 58 data[0].u4.x = subgroupClusteredMin(data[0].u4.x, 1u); [all …]
|
D | spv.subgroupClustered.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupClusteredAdd(data[0].u4.x, 1); 30 data[invocation].u4.xy = subgroupClusteredAdd(data[1].u4.xy, 1); 31 data[invocation].u4.xyz = subgroupClusteredAdd(data[2].u4.xyz, 1); 32 data[invocation].u4 = subgroupClusteredAdd(data[3].u4, 1); 49 data[invocation].u4.x = subgroupClusteredMul(data[0].u4.x, 1); 50 data[invocation].u4.xy = subgroupClusteredMul(data[1].u4.xy, 1); 51 data[invocation].u4.xyz = subgroupClusteredMul(data[2].u4.xyz, 1); 52 data[invocation].u4 = subgroupClusteredMul(data[3].u4, 1); 69 data[invocation].u4.x = subgroupClusteredMin(data[0].u4.x, 1); [all …]
|
D | glsl.450.subgroupClustered.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupClusteredAdd(data[0].u4.x, 1); 30 data[invocation].u4.xy = subgroupClusteredAdd(data[1].u4.xy, 1); 31 data[invocation].u4.xyz = subgroupClusteredAdd(data[2].u4.xyz, 1); 32 data[invocation].u4 = subgroupClusteredAdd(data[3].u4, 1); 49 data[invocation].u4.x = subgroupClusteredMul(data[0].u4.x, 1); 50 data[invocation].u4.xy = subgroupClusteredMul(data[1].u4.xy, 1); 51 data[invocation].u4.xyz = subgroupClusteredMul(data[2].u4.xyz, 1); 52 data[invocation].u4 = subgroupClusteredMul(data[3].u4, 1); 69 data[invocation].u4.x = subgroupClusteredMin(data[0].u4.x, 1); [all …]
|
D | glsl.es320.subgroupQuad.comp | 11 uvec4 u4; 28 data[0].u4.x = subgroupQuadBroadcast(data[0].u4.x, 1u); 29 data[0].u4.xy = subgroupQuadBroadcast(data[1].u4.xy, 1u); 30 data[0].u4.xyz = subgroupQuadBroadcast(data[2].u4.xyz, 1u); 31 data[0].u4 = subgroupQuadBroadcast(data[3].u4, 1u); 48 data[1].u4.x = subgroupQuadSwapHorizontal(data[0].u4.x); 49 data[1].u4.xy = subgroupQuadSwapHorizontal(data[1].u4.xy); 50 data[1].u4.xyz = subgroupQuadSwapHorizontal(data[2].u4.xyz); 51 data[1].u4 = subgroupQuadSwapHorizontal(data[3].u4); 68 data[2].u4.x = subgroupQuadSwapVertical(data[0].u4.x); [all …]
|
D | glsl.es320.subgroupBallot.comp | 11 uvec4 u4; 26 data[0].u4.x = subgroupBallotBitCount(result); 27 data[0].u4.y = subgroupBallotBitExtract(result, 0u) ? 1u : 0u; 28 … data[0].u4.z = subgroupBallotInclusiveBitCount(result) + subgroupBallotExclusiveBitCount(result); 29 data[0].u4.w = subgroupBallotFindLSB(result) + subgroupBallotFindMSB(result); 31 if ((relMask == result) && subgroupInverseBallot(data[0].u4)) 43 data[3].u4.x = subgroupBroadcast(data[0].u4.x, 1u); 44 data[3].u4.xy = subgroupBroadcast(data[1].u4.xy, 1u); 45 data[3].u4.xyz = subgroupBroadcast(data[2].u4.xyz, 1u); 46 data[3].u4 = subgroupBroadcast(data[3].u4, 1u); [all …]
|
D | spv.subgroupQuad.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupQuadBroadcast(data[0].u4.x, 1); 30 data[invocation].u4.xy = subgroupQuadBroadcast(data[1].u4.xy, 1); 31 data[invocation].u4.xyz = subgroupQuadBroadcast(data[2].u4.xyz, 1); 32 data[invocation].u4 = subgroupQuadBroadcast(data[3].u4, 1); 54 data[invocation].u4.x = subgroupQuadSwapHorizontal(data[0].u4.x); 55 data[invocation].u4.xy = subgroupQuadSwapHorizontal(data[1].u4.xy); 56 data[invocation].u4.xyz = subgroupQuadSwapHorizontal(data[2].u4.xyz); 57 data[invocation].u4 = subgroupQuadSwapHorizontal(data[3].u4); 79 data[invocation].u4.x = subgroupQuadSwapVertical(data[0].u4.x); [all …]
|
D | glsl.450.subgroupQuad.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupQuadBroadcast(data[0].u4.x, 1); 30 data[invocation].u4.xy = subgroupQuadBroadcast(data[1].u4.xy, 1); 31 data[invocation].u4.xyz = subgroupQuadBroadcast(data[2].u4.xyz, 1); 32 data[invocation].u4 = subgroupQuadBroadcast(data[3].u4, 1); 54 data[invocation].u4.x = subgroupQuadSwapHorizontal(data[0].u4.x); 55 data[invocation].u4.xy = subgroupQuadSwapHorizontal(data[1].u4.xy); 56 data[invocation].u4.xyz = subgroupQuadSwapHorizontal(data[2].u4.xyz); 57 data[invocation].u4 = subgroupQuadSwapHorizontal(data[3].u4); 79 data[invocation].u4.x = subgroupQuadSwapVertical(data[0].u4.x); [all …]
|
D | spv.shaderBallot.comp | 12 uvec4 u4; 37 data[invocation].u4.x = readInvocationARB(data[0].u4.x, invocation); 38 data[invocation].u4.xy = readInvocationARB(data[1].u4.xy, invocation); 39 data[invocation].u4.xyz = readInvocationARB(data[2].u4.xyz, invocation); 40 data[invocation].u4 = readInvocationARB(data[3].u4, invocation); 54 data[invocation].u4.x = readFirstInvocationARB(data[0].u4.x); 55 data[invocation].u4.xy = readFirstInvocationARB(data[1].u4.xy); 56 data[invocation].u4.xyz = readFirstInvocationARB(data[2].u4.xyz); 57 data[invocation].u4 = readFirstInvocationARB(data[3].u4);
|
D | glsl.450.subgroupBallot.comp | 11 uvec4 u4; 27 data[invocation].u4.x = subgroupBallotBitCount(result); 28 data[invocation].u4.y = subgroupBallotBitExtract(result, 0) ? 1 : 0; 29 …data[invocation].u4.z = subgroupBallotInclusiveBitCount(result) + subgroupBallotExclusiveBitCount(… 30 data[invocation].u4.w = subgroupBallotFindLSB(result) + subgroupBallotFindMSB(result); 32 if ((relMask == result) && subgroupInverseBallot(data[0].u4)) 44 data[invocation].u4.x = subgroupBroadcast(data[0].u4.x, 1); 45 data[invocation].u4.xy = subgroupBroadcast(data[1].u4.xy, 1); 46 data[invocation].u4.xyz = subgroupBroadcast(data[2].u4.xyz, 1); 47 data[invocation].u4 = subgroupBroadcast(data[3].u4, 1); [all …]
|
D | spv.subgroupBallot.comp | 11 uvec4 u4; 27 data[invocation].u4.x = subgroupBallotBitCount(result); 28 data[invocation].u4.y = subgroupBallotBitExtract(result, 0) ? 1 : 0; 29 …data[invocation].u4.z = subgroupBallotInclusiveBitCount(result) + subgroupBallotExclusiveBitCount(… 30 data[invocation].u4.w = subgroupBallotFindLSB(result) + subgroupBallotFindMSB(result); 32 if ((relMask == result) && subgroupInverseBallot(data[0].u4)) 44 data[invocation].u4.x = subgroupBroadcast(data[0].u4.x, 1); 45 data[invocation].u4.xy = subgroupBroadcast(data[1].u4.xy, 1); 46 data[invocation].u4.xyz = subgroupBroadcast(data[2].u4.xyz, 1); 47 data[invocation].u4 = subgroupBroadcast(data[3].u4, 1); [all …]
|
D | glsl.es320.subgroupShuffleRelative.comp | 11 uvec4 u4; 28 data[1].u4.x = subgroupShuffleUp(data[0].u4.x, invocation); 29 data[1].u4.xy = subgroupShuffleUp(data[1].u4.xy, invocation); 30 data[1].u4.xyz = subgroupShuffleUp(data[2].u4.xyz, invocation); 31 data[1].u4 = subgroupShuffleUp(data[3].u4, invocation); 48 data[3].u4.x = subgroupShuffleDown(data[0].u4.x, invocation); 49 data[3].u4.xy = subgroupShuffleDown(data[1].u4.xy, invocation); 50 data[3].u4.xyz = subgroupShuffleDown(data[2].u4.xyz, invocation); 51 data[3].u4 = subgroupShuffleDown(data[3].u4, invocation);
|
D | glsl.es320.subgroupShuffle.comp | 11 uvec4 u4; 28 data[1].u4.x = subgroupShuffle(data[0].u4.x, invocation); 29 data[1].u4.xy = subgroupShuffle(data[1].u4.xy, invocation); 30 data[1].u4.xyz = subgroupShuffle(data[2].u4.xyz, invocation); 31 data[1].u4 = subgroupShuffle(data[3].u4, invocation); 48 data[3].u4.x = subgroupShuffleXor(data[0].u4.x, invocation); 49 data[3].u4.xy = subgroupShuffleXor(data[1].u4.xy, invocation); 50 data[3].u4.xyz = subgroupShuffleXor(data[2].u4.xyz, invocation); 51 data[3].u4 = subgroupShuffleXor(data[3].u4, invocation);
|
D | glsl.450.subgroupShuffle.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupShuffle(data[0].u4.x, invocation); 30 data[invocation].u4.xy = subgroupShuffle(data[1].u4.xy, invocation); 31 data[invocation].u4.xyz = subgroupShuffle(data[2].u4.xyz, invocation); 32 data[invocation].u4 = subgroupShuffle(data[3].u4, invocation); 54 data[invocation].u4.x = subgroupShuffleXor(data[0].u4.x, invocation); 55 data[invocation].u4.xy = subgroupShuffleXor(data[1].u4.xy, invocation); 56 data[invocation].u4.xyz = subgroupShuffleXor(data[2].u4.xyz, invocation); 57 data[invocation].u4 = subgroupShuffleXor(data[3].u4, invocation);
|
D | glsl.450.subgroupShuffleRelative.comp | 11 uvec4 u4; 29 data[invocation].u4.x = subgroupShuffleUp(data[0].u4.x, invocation); 30 data[invocation].u4.xy = subgroupShuffleUp(data[1].u4.xy, invocation); 31 data[invocation].u4.xyz = subgroupShuffleUp(data[2].u4.xyz, invocation); 32 data[invocation].u4 = subgroupShuffleUp(data[3].u4, invocation); 54 data[invocation].u4.x = subgroupShuffleDown(data[0].u4.x, invocation); 55 data[invocation].u4.xy = subgroupShuffleDown(data[1].u4.xy, invocation); 56 data[invocation].u4.xyz = subgroupShuffleDown(data[2].u4.xyz, invocation); 57 data[invocation].u4 = subgroupShuffleDown(data[3].u4, invocation);
|
/third_party/skia/tests/sksl/shared/ |
D | Overflow.glsl | 14 const uvec4 u4 = uvec4(2u, 2u, 2u, 2u); 15 …83648u, 2147483648u, 2147483648u) * u4) * u4) * u4) * u4) * u4) * u4) * u4) * u4) * u4) * u4) * u4…
|
D | Overflow.metal | 24 const uint4 u4 = uint4(2u, 2u, 2u, 2u); 25 …83648u, 2147483648u, 2147483648u) * u4) * u4) * u4) * u4) * u4) * u4) * u4) * u4) * u4) * u4) * u4…
|