Lines Matching refs:subgroups

37 namespace subgroups
70 return glc::subgroups::check(datas, width, 0x3);
77 return glc::subgroups::checkCompute(datas, numWorkgroups, localSize, 0x3);
282 return subgroups::getFormatNameForGLSL(format) + "(0)";
286 return subgroups::getFormatNameForGLSL(format) + "(1)";
292 return subgroups::getFormatNameForGLSL(format) + "(intBitsToFloat(0x7f800000))";
296 return subgroups::getFormatNameForGLSL(format) + "(0x7fffffff)";
300 return subgroups::getFormatNameForGLSL(format) + "(0xffffffffu)";
312 return subgroups::getFormatNameForGLSL(format) + "(intBitsToFloat(0xff800000))";
316 return subgroups::getFormatNameForGLSL(format) + "(0x80000000)";
320 return subgroups::getFormatNameForGLSL(format) + "(0u)";
330 return subgroups::getFormatNameForGLSL(format) + "(~0)";
334 return subgroups::getFormatNameForGLSL(format) + "(0)";
338 return subgroups::getFormatNameForGLSL(format) + "(0)";
344 std::string formatName = subgroups::getFormatNameForGLSL(format);
400 subgroups::setFragmentShaderFrameBuffer(programCollection);
403 subgroups::setVertexShaderFrameBuffer(programCollection);
431 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " ref = "
472 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
497 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
522 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
540 subgroups::setTesEvalShaderFrameBuffer(programCollection);
553 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
564 subgroups::setTesCtrlShaderFrameBuffer(programCollection);
603 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " ref = "
646 << " " << subgroups::getFormatNameForGLSL(caseDef.format) << " data[];\n"
675 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
703 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
733 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
760 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
772 subgroups::addGeometryShadersFromTemplate(geometry, programCollection);
785 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " data[];\n"
795 subgroups::addNoSubgroupShader(programCollection);
801 if (!subgroups::isSubgroupSupported(context))
804 if (!subgroups::isSubgroupFeatureSupportedForDevice(context, SUBGROUP_FEATURE_ARITHMETIC_BIT))
809 if (subgroups::isDoubleFormat(caseDef.format) &&
810 !subgroups::isDoubleSupportedForDevice(context))
818 if (!subgroups::areSubgroupOperationsSupportedForStage(
821 if (subgroups::areSubgroupOperationsRequiredForStage(
826 subgroups::getShaderStageName(caseDef.shaderStage) +
835 subgroups::SSBOData inputData;
837 inputData.layout = subgroups::SSBOData::LayoutStd140;
838 inputData.numElements = subgroups::maxSupportedSubgroupSize();
839 inputData.initializeType = subgroups::SSBOData::InitializeNonZero;
843 return subgroups::makeVertexFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages);
845 return subgroups::makeGeometryFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages);
847 return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages, SHADER_STAGE_TESS_CONTROL_BIT);
849 return subgroups::makeTessellationEvaluationFrameBufferTest(context, FORMAT_R32_UINT, &inputData, 1, checkVertexPipelineStages, SHADER_STAGE_TESS_EVALUATION_BIT);
856 if (!subgroups::areSubgroupOperationsSupportedForStage(
859 if (subgroups::areSubgroupOperationsRequiredForStage(
880 subgroups::getShaderStageName(caseDef.shaderStage) +
883 subgroups::SSBOData inputData;
885 inputData.layout = subgroups::SSBOData::LayoutStd430;
886 inputData.numElements = subgroups::maxSupportedSubgroupSize();
887 inputData.initializeType = subgroups::SSBOData::InitializeNonZero;
890 return subgroups::makeComputeTest(context, FORMAT_R32_UINT, &inputData, 1, checkComputeStage);
898 if ( SHADER_STAGE_FRAGMENT_BIT != stages && !subgroups::isVertexSSBOSupportedForDevice(context))
909 subgroups::SSBOData inputData;
911 inputData.layout = subgroups::SSBOData::LayoutStd430;
912 inputData.numElements = subgroups::maxSupportedSubgroupSize();
913 inputData.initializeType = subgroups::SSBOData::InitializeNonZero;
917 return subgroups::allStages(context, FORMAT_R32_UINT, &inputData,
1020 subgroups::getFormatNameForGLSL(format),
1028 subgroups::getFormatNameForGLSL(format),
1035 SubgroupFactory<CaseDefinition>::addFunctionCaseWithPrograms(framebufferGroup.get(), de::toLower(op) + "_" + subgroups::getFormatNameForGLSL(format) +
1052 } // subgroups