Lines Matching refs:bdy
101 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
218 bdy << "bool subgroupBallotBitExtract(uint64_t value, uint index)\n"; in getHelperFunctionARB()
219 bdy << "{\n"; in getHelperFunctionARB()
220 bdy << " if (index > 63)\n"; in getHelperFunctionARB()
221 bdy << " return false;\n"; in getHelperFunctionARB()
222 bdy << " uint64_t mask = 1ul << index;\n"; in getHelperFunctionARB()
223 bdy << " if (bool((value & mask)) == true)\n"; in getHelperFunctionARB()
224 bdy << " return true;\n"; in getHelperFunctionARB()
225 bdy << " return false;\n"; in getHelperFunctionARB()
226 bdy << "}\n"; in getHelperFunctionARB()
228 return bdy.str(); in getHelperFunctionARB()