• Home
  • Raw
  • Download

Lines Matching refs:caseDef

102 string getExtHeader (CaseDefinition& caseDef)  in getExtHeader()  argument
106 subgroups::getAdditionalExtensionForFormat(caseDef.format); in getExtHeader()
109 string getTestSrc (CaseDefinition& caseDef) in getTestSrc() argument
111 const string formatName = subgroups::getFormatNameForGLSL(caseDef.format); in getTestSrc()
112 const string opTypeName = getOpTypeName(caseDef.op); in getTestSrc()
113 const string identity = getIdentity(caseDef.op, caseDef.format); in getTestSrc()
114 const string opOperation = getOpOperation(caseDef.op, caseDef.format, "ref", "data[index]"); in getTestSrc()
115 const string compare = getCompare(caseDef.op, caseDef.format, "ref", "op"); in getTestSrc()
156 void initFrameBufferPrograms (SourceCollections& programCollection, CaseDefinition caseDef) in initFrameBufferPrograms() argument
159 const string extHeader = getExtHeader(caseDef); in initFrameBufferPrograms()
160 const string testSrc = getTestSrc(caseDef); in initFrameBufferPrograms()
162 …dFrameBufferPrograms(programCollection, buildOptions, caseDef.shaderStage, caseDef.format, *caseDe… in initFrameBufferPrograms()
165 void initPrograms (SourceCollections& programCollection, CaseDefinition caseDef) in initPrograms() argument
168 …ool spirv14required = (isAllRayTracingStages(caseDef.shaderStage) || isAllMeshShadingStages(ca… in initPrograms()
174 const string extHeader = getExtHeader(caseDef); in initPrograms()
175 const string testSrc = getTestSrc(caseDef); in initPrograms()
177 …ups::initStdPrograms(programCollection, buildOptions, caseDef.shaderStage, caseDef.format, *caseDe… in initPrograms()
180 void supportedCheck (Context& context, CaseDefinition caseDef) in supportedCheck() argument
188 if (!subgroups::isFormatSupportedForDevice(context, caseDef.format)) in supportedCheck()
191 if (caseDef.requiredSubgroupSize) in supportedCheck()
209 …if ((subgroupSizeControlProperties.requiredSubgroupSizeStages & caseDef.shaderStage) != caseDef.sh… in supportedCheck()
213 …*caseDef.geometryPointSizeSupported = subgroups::isTessellationAndGeometryPointSizeSupported(conte… in supportedCheck()
216 if (isAllRayTracingStages(caseDef.shaderStage)) in supportedCheck()
220 else if (isAllMeshShadingStages(caseDef.shaderStage)) in supportedCheck()
225 if ((caseDef.shaderStage & VK_SHADER_STAGE_TASK_BIT_EXT) != 0u) in supportedCheck()
234 subgroups::supportedCheckShader(context, caseDef.shaderStage); in supportedCheck()
237 TestStatus noSSBOtest (Context& context, const CaseDefinition caseDef) in noSSBOtest() argument
243 caseDef.format, // vk::VkFormat format; in noSSBOtest()
248 switch (caseDef.shaderStage) in noSSBOtest()
252 …ntext, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipelineStages, caseDef.shaderStage); in noSSBOtest()
253 …ntext, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipelineStages, caseDef.shaderStage); in noSSBOtest()
258 TestStatus test (Context& context, const CaseDefinition caseDef) in test() argument
260 const bool isCompute = isAllComputeStages(caseDef.shaderStage); in test()
262 const bool isMesh = isAllMeshShadingStages(caseDef.shaderStage); in test()
278 inputData.format = caseDef.format; in test()
283 if (caseDef.requiredSubgroupSize == DE_FALSE) in test()
313 else if (isAllGraphicsStages(caseDef.shaderStage)) in test()
315 …const VkShaderStageFlags stages = subgroups::getPossibleGraphicsSubgroupStages(context, caseDef.s… in test()
320 caseDef.format, // vk::VkFormat format; in test()
330 else if (isAllRayTracingStages(caseDef.shaderStage)) in test()
332 …rStageFlags stages = subgroups::getPossibleRayTracingSubgroupStages(context, caseDef.shaderStage); in test()
337 caseDef.format, // vk::VkFormat format; in test()
416 const CaseDefinition caseDef = in createSubgroupsClusteredTests() local
425 …ionCaseWithPrograms(computeGroup.get(), testName, "", supportedCheck, initPrograms, test, caseDef); in createSubgroupsClusteredTests()
435 const CaseDefinition caseDef = in createSubgroupsClusteredTests() local
444 …nctionCaseWithPrograms(meshGroup.get(), testName, "", supportedCheck, initPrograms, test, caseDef); in createSubgroupsClusteredTests()
450 const CaseDefinition caseDef = in createSubgroupsClusteredTests() local
459 …unctionCaseWithPrograms(graphicGroup.get(), name, "", supportedCheck, initPrograms, test, caseDef); in createSubgroupsClusteredTests()
464 const CaseDefinition caseDef = in createSubgroupsClusteredTests() local
472 const string testName = name +"_" + getShaderStageName(caseDef.shaderStage); in createSubgroupsClusteredTests()
474 …ramebufferGroup.get(), testName, "", supportedCheck, initFrameBufferPrograms, noSSBOtest, caseDef); in createSubgroupsClusteredTests()
507 const CaseDefinition caseDef = in createSubgroupsClusteredTests() local
516 …tionCaseWithPrograms(raytracingGroup.get(), name, "", supportedCheck, initPrograms, test, caseDef); in createSubgroupsClusteredTests()