Lines Matching defs:subgroups

37 namespace subgroups
53 return glc::subgroups::check(datas, width, 1);
60 return glc::subgroups::checkCompute(datas, numWorkgroups, localSize, 1);
93 subgroups::setFragmentShaderFrameBuffer(programCollection);
96 subgroups::setVertexShaderFrameBuffer(programCollection);
113 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
123 vertexSrc << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
129 vertexSrc << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
159 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
169 geometry << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
175 geometry << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
206 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
221 controlSource << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
227 controlSource << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
244 subgroups::setTesEvalShaderFrameBuffer(programCollection);
256 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
266 evaluationSource << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
272 evaluationSource << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
288 subgroups::setTesCtrlShaderFrameBuffer(programCollection);
319 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[];\n"
334 src << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
340 src << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
362 src << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
368 src << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " op = "
385 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
420 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
458 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
493 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
513 subgroups::addGeometryShadersFromTemplate(geometry, programCollection);
526 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
544 subgroups::addNoSubgroupShader(programCollection);
550 if (!subgroups::isSubgroupSupported(context))
553 if (!subgroups::isSubgroupFeatureSupportedForDevice(context, SUBGROUP_FEATURE_QUAD_BIT))
557 if (subgroups::isDoubleFormat(caseDef.format) &&
558 !subgroups::isDoubleSupportedForDevice(context))
566 if (!subgroups::areSubgroupOperationsSupportedForStage(
569 if (subgroups::areSubgroupOperationsRequiredForStage(
574 subgroups::getShaderStageName(caseDef.shaderStage) +
583 subgroups::SSBOData inputData;
585 inputData.layout = subgroups::SSBOData::LayoutStd140;
586 inputData.numElements = subgroups::maxSupportedSubgroupSize();
587 inputData.initializeType = subgroups::SSBOData::InitializeNonZero;
591 return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages);
593 return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages);
595 return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages, SHADER_STAGE_TESS_CONTROL_BIT);
597 return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages, SHADER_STAGE_TESS_EVALUATION_BIT);
607 if (!subgroups::areSubgroupOperationsSupportedForStage(context, caseDef.shaderStage))
611 subgroups::getShaderStageName(caseDef.shaderStage) +
614 subgroups::SSBOData inputData;
616 inputData.layout = subgroups::SSBOData::LayoutStd430;
617 inputData.numElements = subgroups::maxSupportedSubgroupSize();
618 inputData.initializeType = subgroups::SSBOData::InitializeNonZero;
621 return subgroups::makeComputeTest(context, FORMAT_R32_UINT, &inputData, 1, checkComputeStage);
629 if (SHADER_STAGE_FRAGMENT_BIT != stages && !subgroups::isVertexSSBOSupportedForDevice(context))
640 subgroups::SSBOData inputData;
642 inputData.layout = subgroups::SSBOData::LayoutStd430;
643 inputData.numElements = subgroups::maxSupportedSubgroupSize();
644 inputData.initializeType = subgroups::SSBOData::InitializeNonZero;
648 return subgroups::allStages(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages, stages);
708 name << "_" << subgroups::getFormatNameForGLSL(format);
745 } // subgroups