Lines Matching defs:mask
87 default: TCU_THROW(InternalError, "Unsupported mask type");
100 body += " uint64_t mask = uint64_t(1) << gl_SubGroupInvocationARB;\n"
101 " temp = (value & mask) != 0;\n";
105 " uint64_t mask = uint64_t(1) << i;\n"
106 " if (i >= gl_SubGroupInvocationARB && (value & mask) == 0)\n"
108 " if (i < gl_SubGroupInvocationARB && (value & mask) != 0)\n"
114 " uint64_t mask = uint64_t(1) << i;\n"
115 " if (i > gl_SubGroupInvocationARB && (value & mask) == 0)\n"
117 " if (i <= gl_SubGroupInvocationARB && (value & mask) != 0)\n"
123 " uint64_t mask = uint64_t(1) << i;\n"
124 " if (i <= gl_SubGroupInvocationARB && (value & mask) == 0)\n"
126 " if (i > gl_SubGroupInvocationARB && (value & mask) != 0)\n"
132 " uint64_t mask = uint64_t(1) << i;\n"
133 " if (i < gl_SubGroupInvocationARB && (value & mask) == 0)\n"
135 " if (i >= gl_SubGroupInvocationARB && (value & mask) != 0)\n"
140 TCU_THROW(InternalError, "Unknown mask type");
372 de::MovePtr<TestCaseGroup> group (new TestCaseGroup(testCtx, "ballot_mask", "VK_EXT_shader_subgroup_ballot mask category tests"));
404 const string mask = de::toLower(getMaskTypeName(maskType));
409 const string testName = mask + (requiredSubgroupSize ? "_requiredsubgroupsize" : "");
427 const string testName = mask + (requiredSubgroupSize ? "_requiredsubgroupsize" : "");
450 addFunctionCaseWithPrograms(graphicGroup.get(), mask, supportedCheck, initPrograms, test, caseDef);
463 addFunctionCaseWithPrograms(raytracingGroup.get(), mask, supportedCheck, initPrograms, test, caseDef);
476 const string testName = mask + "_" + getShaderStageName(caseDef.shaderStage);