/third_party/glslang/Test/ |
D | glsl.es320.subgroupArithmetic.comp | 10 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 …]
|
D | glsl.es320.subgroupPartitioned.comp | 10 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 …]
|
D | spv.vulkan100.subgroupArithmetic.comp | 10 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 …]
|
D | spv.subgroupArithmetic.comp | 10 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 …]
|
D | glsl.450.subgroupArithmetic.comp | 10 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 …]
|
D | spv.vulkan100.subgroupPartitioned.comp | 10 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 …]
|
D | glsl.450.subgroupPartitioned.comp | 10 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 …]
|
D | spv.subgroupPartitioned.comp | 10 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 …]
|
D | glsl.es320.subgroupClustered.comp | 10 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 …]
|
D | glsl.es320.subgroupQuad.comp | 10 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 …]
|
D | glsl.450.subgroupClustered.comp | 10 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 …]
|
D | spv.subgroupClustered.comp | 10 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 …]
|
D | spv.subgroupQuad.comp | 10 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 …]
|
D | glsl.450.subgroupQuad.comp | 10 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 …]
|
D | glsl.es320.subgroupShuffleRelative.comp | 10 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 …]
|
D | glsl.es320.subgroupShuffle.comp | 10 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 …]
|
D | glsl.es320.subgroupBallot.comp | 10 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 …]
|
D | spv.subgroupShuffleRelative.comp | 10 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 …]
|
D | glsl.450.subgroupShuffleRelative.comp | 10 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 …]
|
D | glsl.450.subgroupBallot.comp | 10 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 …]
|
D | glsl.450.subgroupShuffle.comp | 10 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 …]
|
D | spv.subgroupBallot.comp | 10 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 …]
|
D | spv.subgroupShuffle.comp | 10 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 …]
|
D | glsl.450.subgroupClusteredNeg.comp | 10 ivec4 i4; 26 data[invocation].i4.xy = subgroupClusteredMin(data[1].i4.xy, 8); 27 …data[invocation].i4.xyz = subgroupClusteredMin(data[2].i4.xyz, 6); // ERROR, not a power o… 31 data[invocation].i4 = subgroupClusteredAnd(data[3].i4, -3); // ERROR, less than 1 33 … data[invocation].i4.x = subgroupClusteredOr(data[0].i4.x, a); // ERROR, not constant 34 data[invocation].i4.xy = subgroupClusteredOr(data[1].i4.xy, aConst); 36 … data[invocation].i4.x = subgroupClusteredXor(data[0].i4.x, 1 + a); // ERROR, not constant 37 … data[invocation].i4.xy = subgroupClusteredXor(data[1].i4.xy, aConst + a); // ERROR, not constant 38 data[invocation].i4.xyz = subgroupClusteredXor(data[2].i4.xyz, 1 + aConst);
|
/third_party/skia/resources/sksl/shared/ |
D | Overflow.sksl | 30 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;
|