• Home
  • Raw
  • Download

Lines Matching refs:caseDef

119 std::string getTestSrc(const CaseDefinition &caseDef)  in getTestSrc()  argument
133 std::string fmt = subgroups::getFormatNameForGLSL(caseDef.format); in getTestSrc()
134 std::string op = getOpTypeName(caseDef.opType); in getTestSrc()
138 << swapTable[caseDef.opType] in getTestSrc()
141 if (caseDef.opType == OPTYPE_QUAD_BROADCAST) in getTestSrc()
152 else if (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) in getTestSrc()
188 void initFrameBufferPrograms(SourceCollections& programCollection, CaseDefinition caseDef) in initFrameBufferPrograms() argument
190 …const vk::SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) ? vk::S… in initFrameBufferPrograms()
193 … buildOptions, caseDef.shaderStage, caseDef.format, *caseDef.geometryPointSizeSupported, getExtHea… in initFrameBufferPrograms()
196 void initPrograms(SourceCollections& programCollection, CaseDefinition caseDef) in initPrograms() argument
198 …const vk::SpirvVersion spirvVersion = (caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) ? vk::S… in initPrograms()
201 std::string extHeader = getExtHeader(caseDef.format); in initPrograms()
202 std::string testSrc = getTestSrc(caseDef); in initPrograms()
204 …ups::initStdPrograms(programCollection, buildOptions, caseDef.shaderStage, caseDef.format, *caseDe… in initPrograms()
207 void supportedCheck (Context& context, CaseDefinition caseDef) in supportedCheck() argument
215 if (!subgroups::isFormatSupportedForDevice(context, caseDef.format)) in supportedCheck()
218 …if ((caseDef.opType == OPTYPE_QUAD_BROADCAST_NONCONST) && !subgroups::isSubgroupBroadcastDynamicId… in supportedCheck()
221 if (caseDef.requiredSubgroupSize) in supportedCheck()
251 …if ((subgroupSizeControlProperties.requiredSubgroupSizeStages & caseDef.shaderStage) != caseDef.sh… in supportedCheck()
255 …*caseDef.geometryPointSizeSupported = subgroups::isTessellationAndGeometryPointSizeSupported(conte… in supportedCheck()
257 vkt::subgroups::supportedCheckShader(context, caseDef.shaderStage); in supportedCheck()
260 tcu::TestStatus noSSBOtest (Context& context, const CaseDefinition caseDef) in noSSBOtest() argument
262 if (!subgroups::areSubgroupOperationsSupportedForStage(context, caseDef.shaderStage)) in noSSBOtest()
264 if (subgroups::areSubgroupOperationsRequiredForStage(caseDef.shaderStage)) in noSSBOtest()
268 subgroups::getShaderStageName(caseDef.shaderStage) + in noSSBOtest()
278 inputData.format = caseDef.format; in noSSBOtest()
283 if (VK_SHADER_STAGE_VERTEX_BIT == caseDef.shaderStage) in noSSBOtest()
285 else if (VK_SHADER_STAGE_GEOMETRY_BIT == caseDef.shaderStage) in noSSBOtest()
287 else if (VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT == caseDef.shaderStage) in noSSBOtest()
289 else if (VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT == caseDef.shaderStage) in noSSBOtest()
296 tcu::TestStatus test(Context& context, const CaseDefinition caseDef) in test() argument
298 if (VK_SHADER_STAGE_COMPUTE_BIT == caseDef.shaderStage) in test()
300 if (!subgroups::areSubgroupOperationsSupportedForStage(context, caseDef.shaderStage)) in test()
304 subgroups::getShaderStageName(caseDef.shaderStage) + in test()
308 inputData.format = caseDef.format; in test()
313 if (caseDef.requiredSubgroupSize == DE_FALSE) in test()
355 …VkShaderStageFlagBits stages = (VkShaderStageFlagBits)(caseDef.shaderStage & subgroupProperties.s… in test()
369 inputData.format = caseDef.format; in test()
416 …CaseDefinition caseDef = {opTypeIndex, VK_SHADER_STAGE_COMPUTE_BIT, format, de::SharedPtr<bool>(ne… in createSubgroupsQuadTests() local
417 …nCaseWithPrograms(computeGroup.get(), name.str(), "", supportedCheck, initPrograms, test, caseDef); in createSubgroupsQuadTests()
418 caseDef.requiredSubgroupSize = DE_TRUE; in createSubgroupsQuadTests()
419 …roup.get(), name.str() + "_requiredsubgroupsize", "", supportedCheck, initPrograms, test, caseDef); in createSubgroupsQuadTests()
423 const CaseDefinition caseDef = in createSubgroupsQuadTests() local
431 …nCaseWithPrograms(graphicGroup.get(), name.str(), "", supportedCheck, initPrograms, test, caseDef); in createSubgroupsQuadTests()
435 …const CaseDefinition caseDef = {opTypeIndex, stages[stageIndex], format, de::SharedPtr<bool>(new b… in createSubgroupsQuadTests() local
436 …addFunctionCaseWithPrograms(framebufferGroup.get(), name.str()+"_"+ getShaderStageName(caseDef.sha… in createSubgroupsQuadTests()
437 supportedCheck, initFrameBufferPrograms, noSSBOtest, caseDef); in createSubgroupsQuadTests()