Home
last modified time | relevance | path

Searched refs:bdy (Results 1 - 22 of 22) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
H A DglcSubgroupsBuiltinMaskVarTests.cpp64 std::ostringstream bdy; in subgroupMask() local
66 bdy << " uint tempResult = 0x1u;\n" in subgroupMask()
76 bdy << " if ((i == gl_SubgroupInvocationID) ^^ subgroupBallotBitExtract(var, i))\n" in subgroupMask()
83 bdy << " if ((i >= gl_SubgroupInvocationID) ^^ subgroupBallotBitExtract(var, i))\n" in subgroupMask()
90 bdy << " if ((i > gl_SubgroupInvocationID) ^^ subgroupBallotBitExtract(var, i))\n" in subgroupMask()
97 bdy << " if ((i <= gl_SubgroupInvocationID) ^^ subgroupBallotBitExtract(var, i))\n" in subgroupMask()
104 bdy << " if ((i < gl_SubgroupInvocationID) ^^ subgroupBallotBitExtract(var, i))\n" in subgroupMask()
110 bdy << " }\n" in subgroupMask()
135 return bdy.str(); in subgroupMask()
147 const string bdy in initFrameBufferPrograms() local
165 const string bdy = subgroupMask(caseDef); initFrameBufferPrograms() local
184 const string bdy = subgroupMask(caseDef); initFrameBufferPrograms() local
207 const string bdy = subgroupMask(caseDef); initFrameBufferPrograms() local
234 const string bdy = subgroupMask(caseDef); initPrograms() local
254 << bdy initPrograms() local
[all...]
H A DglcSubgroupsShapeTests.cpp83 std::ostringstream bdy; in initFrameBufferPrograms() local
95 bdy << " uint tempResult = 0x1u;\n" in initFrameBufferPrograms()
102 bdy << " if (gl_SubgroupSize >= " << i << "u)\n" in initFrameBufferPrograms()
128 bdy << " uint cluster[4] =\n" in initFrameBufferPrograms()
156 << bdy.str() in initFrameBufferPrograms()
175 << bdy.str() in initFrameBufferPrograms()
200 << bdy.str() in initFrameBufferPrograms()
218 << bdy.str() in initFrameBufferPrograms()
240 std::ostringstream bdy; in initPrograms() local
242 bdy << " uin in initPrograms()
[all...]
H A DglcSubgroupsPartitionedTests.cpp350 string bdy = in getTestString() local
356 bdy += in getTestString()
367 bdy += in getTestString()
386 bdy += in getTestString()
397 bdy += in getTestString()
429 return bdy; in getTestString()
434 std::ostringstream bdy; in initFrameBufferPrograms() local
441 bdy << getTestString(caseDef); in initFrameBufferPrograms()
460 << bdy.str() in initFrameBufferPrograms()
486 << bdy in initFrameBufferPrograms()
560 const string bdy = getTestString(caseDef); initPrograms() local
[all...]
H A DglcSubgroupsClusteredTests.cpp319 std::ostringstream bdy; in getBodySource() local
320 bdy << " bool tempResult = true;\n"; in getBodySource()
324 bdy << " {\n" in getBodySource()
352 return bdy.str(); in getBodySource()
362 std::string bdy = getBodySource(caseDef); in initFrameBufferPrograms() local
380 << bdy in initFrameBufferPrograms()
405 << bdy in initFrameBufferPrograms()
436 << bdy in initFrameBufferPrograms()
461 << bdy in initFrameBufferPrograms()
477 std::string bdy in initPrograms() local
[all...]
H A DglcSubgroupsBallotOtherTests.cpp98 std::ostringstream bdy; in getBodySource() local
100 bdy << " uvec4 allOnes = uvec4(0xFFFFFFFF);\n" in getBodySource()
120 bdy << " tempResult |= subgroupInverseBallot(allOnes) ? 0x1u : 0u;\n" in getBodySource()
126 bdy << " tempResult |= subgroupBallotBitExtract(allOnes, gl_SubgroupInvocationID) ? 0x1u : 0u;\n" in getBodySource()
139 bdy << " tempResult |= gl_SubgroupSize == subgroupBallotBitCount(allOnes) ? 0x1u : 0u;\n" in getBodySource()
145 bdy << " uint inclusiveOffset = gl_SubgroupInvocationID + 1u;\n" in getBodySource()
171 bdy << " uint exclusiveOffset = gl_SubgroupInvocationID;\n" in getBodySource()
197 bdy << " tempResult |= 0u == subgroupBallotFindLSB(allOnes) ? 0x1u : 0u;\n" in getBodySource()
217 bdy << " tempResult |= (gl_SubgroupSize - 1u) == subgroupBallotFindMSB(allOnes) ? 0x1u : 0u;\n" in getBodySource()
237 return bdy in getBodySource()
[all...]
H A DglcSubgroupsArithmeticTests.cpp398 std::ostringstream bdy; in initFrameBufferPrograms() local
430 bdy << indexVars in initFrameBufferPrograms()
478 << bdy.str() in initFrameBufferPrograms()
503 << bdy.str() in initFrameBufferPrograms()
533 << bdy.str() in initFrameBufferPrograms()
559 << bdy.str() in initFrameBufferPrograms()
601 const string bdy = in initPrograms() local
656 << bdy in initPrograms()
681 + bdy+ in initPrograms()
709 + bdy in initPrograms()
[all...]
H A DglcSubgroupsBasicTests.cpp430 std::ostringstream bdy; in initFrameBufferPrograms() local
441 bdy << " tempResult2 = tempBuffer[id];\n" in initFrameBufferPrograms()
455 bdy << " tempResult2 = imageLoad(tempImage, ivec2(id, 0)).x;\n" in initFrameBufferPrograms()
502 << bdy.str() in initFrameBufferPrograms()
540 << bdy.str() in initFrameBufferPrograms()
580 << bdy.str() in initFrameBufferPrograms()
636 << bdy.str() in initFrameBufferPrograms()
683 << bdy.str() in initFrameBufferPrograms()
908 std::ostringstream bdy; in initPrograms() local
918 bdy << " i in initPrograms()
[all...]
H A DglcSubgroupsBallotBroadcastTests.cpp84 std::ostringstream bdy; in getBodySource() local
86 bdy << " uvec4 mask = subgroupBallot(true);\n"; in getBodySource()
87 bdy << " uint tempResult = 0u;\n"; in getBodySource()
91 bdy << " tempResult = 0x3u;\n"; in getBodySource()
94 bdy << " {\n" in getBodySource()
110 bdy << " uint firstActive = 0u;\n" in getBodySource()
139 return bdy.str(); in getBodySource()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
H A DvktSubgroupsBallotBroadcastTests.cpp101 ostringstream bdy; in getTestSrc() local
115 bdy << " uint64_t mask;\n" in getTestSrc()
131 bdy << " uvec4 mask = subgroupBallot(true);\n" in getTestSrc()
138 bdy << " tempRes = 0x3;\n" in getTestSrc()
143 bdy << " ops[" << i << "] = " << broadcast << "(d, " << i << "u);\n"; in getTestSrc()
145 bdy << " for(int id = 0; id < sgSize; id++)\n" in getTestSrc()
158 bdy << " tempRes= 0x3;\n" in getTestSrc()
174 bdy << " tempRes = 0;\n" in getTestSrc()
208 return bdy.str(); in getTestSrc()
213 ostringstream bdy; in getHelperFunctionARB() local
[all...]
H A DvktSubgroupsBallotOtherTests.cpp146 ostringstream bdy; in getTestString() local
148 bdy << " uvec4 allOnes = uvec4(0xFFFFFFFF);\n" in getTestString()
168 bdy << " tempResult |= subgroupInverseBallot(allOnes) ? 0x1 : 0;\n" in getTestString()
174 bdy << " tempResult |= subgroupBallotBitExtract(allOnes, gl_SubgroupInvocationID) ? 0x1 : 0;\n" in getTestString()
187 bdy << " /* To ensure a 32-bit computation, use a variable with default highp precision. */\n" in getTestString()
195 bdy << " uint inclusiveOffset = gl_SubgroupInvocationID + 1;\n" in getTestString()
212 bdy << " uint exclusiveOffset = gl_SubgroupInvocationID;\n" in getTestString()
229 bdy << " tempResult |= 0 == subgroupBallotFindLSB(allOnes) ? 0x1 : 0;\n" in getTestString()
249 bdy << " tempResult |= (gl_SubgroupSize - 1) == subgroupBallotFindMSB(allOnes) ? 0x1 : 0;\n" in getTestString()
270 bdy << " tempRe in getTestString()
[all...]
H A DvktSubgroupsPartitionedTests.cpp196 string bdy = in getTestString() local
203 bdy += in getTestString()
214 bdy += in getTestString()
231 bdy += in getTestString()
242 bdy += in getTestString()
275 return bdy; in getTestString()
H A DvktSubgroupsShapeTests.cpp98 ostringstream bdy; in getBodySource() local
100 bdy << " uint tempResult = 0x1;\n" in getBodySource()
107 bdy << " if (gl_SubgroupSize >= " << i << ")\n" in getBodySource()
133 bdy << " uint cluster[4] =\n" in getBodySource()
151 bdy << " tempRes = tempResult;\n"; in getBodySource()
153 return bdy.str(); in getBodySource()
H A DvktSubgroupsClusteredTests.cpp116 ostringstream bdy; in getTestSrc() local
118 bdy << " bool tempResult = true;\n" in getTestSrc()
123 bdy << " {\n" in getTestSrc()
153 return bdy.str(); in getTestSrc()
H A DvktSubgroupsBasicTests.cpp1131 ostringstream bdy; in initFrameBufferPrograms() local
1139 bdy << " tempResult2 = tempBuffer[id];\n" in initFrameBufferPrograms()
1154 bdy <<"tempResult2 = imageLoad(tempImage, ivec2(id, 0)).x;\n" in initFrameBufferPrograms()
1203 << bdy.str() in initFrameBufferPrograms()
1243 << bdy.str() in initFrameBufferPrograms()
1284 << bdy.str() in initFrameBufferPrograms()
1342 << bdy.str() in initFrameBufferPrograms()
1390 << bdy.str() in initFrameBufferPrograms()
H A DvktSubgroupsBuiltinMaskVarTests.cpp162 ostringstream bdy; in subgroupMask() local
164 bdy << " uint tempResult = 0x1;\n" in subgroupMask()
181 return bdy.str(); in subgroupMask()
198 const string bdy = subgroupMask(caseDef); in initFrameBufferPrograms()
207 + bdy + in initFrameBufferPrograms()
419 const string bdy = subgroupMask(caseDef); in initFrameBufferPrograms()
429 + bdy + in initFrameBufferPrograms()
660 const string bdy = subgroupMask(caseDef); in initFrameBufferPrograms()
674 + bdy + in initFrameBufferPrograms()
920 const string bdy in initFrameBufferPrograms()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
H A DvktSubgroupsBallotBroadcastTests.cpp103 ostringstream bdy; in getTestSrc() local
117 bdy << " uint64_t mask;\n" in getTestSrc()
133 bdy << " uvec4 mask = subgroupBallot(true);\n" in getTestSrc()
140 bdy << " tempRes = 0x3;\n" in getTestSrc()
145 bdy << " ops[" << i << "] = " << broadcast << "(d, " << i << "u);\n"; in getTestSrc()
147 bdy << " for(int id = 0; id < sgSize; id++)\n" in getTestSrc()
160 bdy << " tempRes= 0x3;\n" in getTestSrc()
176 bdy << " tempRes = 0;\n" in getTestSrc()
210 return bdy.str(); in getTestSrc()
215 ostringstream bdy; in getHelperFunctionARB() local
[all...]
H A DvktSubgroupsBallotOtherTests.cpp146 ostringstream bdy; in getTestString() local
148 bdy << " uvec4 allOnes = uvec4(0xFFFFFFFF);\n" in getTestString()
168 bdy << " tempResult |= subgroupInverseBallot(allOnes) ? 0x1 : 0;\n" in getTestString()
174 bdy << " tempResult |= subgroupBallotBitExtract(allOnes, gl_SubgroupInvocationID) ? 0x1 : 0;\n" in getTestString()
187 bdy << " /* To ensure a 32-bit computation, use a variable with default highp precision. */\n" in getTestString()
195 bdy << " uint inclusiveOffset = gl_SubgroupInvocationID + 1;\n" in getTestString()
212 bdy << " uint exclusiveOffset = gl_SubgroupInvocationID;\n" in getTestString()
229 bdy << " tempResult |= 0 == subgroupBallotFindLSB(allOnes) ? 0x1 : 0;\n" in getTestString()
249 bdy << " tempResult |= (gl_SubgroupSize - 1) == subgroupBallotFindMSB(allOnes) ? 0x1 : 0;\n" in getTestString()
270 bdy << " tempRe in getTestString()
[all...]
H A DvktSubgroupsShapeTests.cpp98 ostringstream bdy; in getBodySource() local
100 bdy << " uint tempResult = 0x1;\n" in getBodySource()
107 bdy << " if (gl_SubgroupSize >= " << i << ")\n" in getBodySource()
133 bdy << " uint cluster[4] =\n" in getBodySource()
151 bdy << " tempRes = tempResult;\n"; in getBodySource()
153 return bdy.str(); in getBodySource()
H A DvktSubgroupsPartitionedTests.cpp198 string bdy = in getTestString() local
205 bdy += in getTestString()
216 bdy += in getTestString()
233 bdy += in getTestString()
244 bdy += in getTestString()
277 return bdy; in getTestString()
H A DvktSubgroupsClusteredTests.cpp118 ostringstream bdy; in getTestSrc() local
120 bdy << " bool tempResult = true;\n" in getTestSrc()
125 bdy << " {\n" in getTestSrc()
155 return bdy.str(); in getTestSrc()
H A DvktSubgroupsBasicTests.cpp1131 ostringstream bdy; in initFrameBufferPrograms() local
1139 bdy << " tempResult2 = tempBuffer[id];\n" in initFrameBufferPrograms()
1154 bdy <<"tempResult2 = imageLoad(tempImage, ivec2(id, 0)).x;\n" in initFrameBufferPrograms()
1203 << bdy.str() in initFrameBufferPrograms()
1243 << bdy.str() in initFrameBufferPrograms()
1284 << bdy.str() in initFrameBufferPrograms()
1342 << bdy.str() in initFrameBufferPrograms()
1390 << bdy.str() in initFrameBufferPrograms()
H A DvktSubgroupsBuiltinMaskVarTests.cpp162 ostringstream bdy; in subgroupMask() local
164 bdy << " uint tempResult = 0x1;\n" in subgroupMask()
181 return bdy.str(); in subgroupMask()
198 const string bdy = subgroupMask(caseDef); in initFrameBufferPrograms()
207 + bdy + in initFrameBufferPrograms()
419 const string bdy = subgroupMask(caseDef); in initFrameBufferPrograms()
429 + bdy + in initFrameBufferPrograms()
660 const string bdy = subgroupMask(caseDef); in initFrameBufferPrograms()
674 + bdy + in initFrameBufferPrograms()
920 const string bdy in initFrameBufferPrograms()
[all...]

Completed in 27 milliseconds