Lines Matching refs:subgroups

54 	return subgroups::check(datas, width, 0x7);
65 return subgroups::checkComputeOrMesh(datas, numWorkgroups, localSize, 0x7);
73 const string subgroupSizeStr = de::toString(subgroups::maxSupportedSubgroupSize());
75 subgroups::setFragmentShaderFrameBuffer(programCollection);
78 subgroups::setVertexShaderFrameBuffer(programCollection);
88 " uint data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
228 " uint data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
391 " uint data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
562 subgroups::setTesEvalShaderFrameBuffer(programCollection);
573 " uint data[" << subgroups::maxSupportedSubgroupSize() << "];\n"
721 subgroups::setTesCtrlShaderFrameBuffer(programCollection);
780 : caseDef.extShaderSubGroupBallotTests ? subgroups::getSharedMemoryBallotHelperARB()
781 : subgroups::getSharedMemoryBallotHelper();
784 subgroups::initStdPrograms(programCollection, buildOptions, caseDef.shaderStage, VK_FORMAT_R32_UINT, pointSizeSupport, extHeader, testSrc, testHelper);
789 if (!subgroups::isSubgroupSupported(context))
792 if (!subgroups::isSubgroupFeatureSupportedForDevice(context, VK_SUBGROUP_FEATURE_BALLOT_BIT))
802 if (caseDef.extShaderSubGroupBallotTests && !subgroups::isInt64SupportedForDevice(context))
823 TCU_THROW(NotSupportedError, "Device does not support full subgroups in compute shaders");
829 *caseDef.geometryPointSizeSupported = subgroups::isTessellationAndGeometryPointSizeSupported(context);
850 subgroups::supportedCheckShader(context, caseDef.shaderStage);
855 const subgroups::SSBOData inputData =
857 subgroups::SSBOData::InitializeNonZero, // InputDataInitializeType initializeType;
858 subgroups::SSBOData::LayoutStd140, // InputDataLayoutType layout;
860 subgroups::maxSupportedSubgroupSize(), // vk::VkDeviceSize numElements;
861 subgroups::SSBOData::BindingUBO, // BindingType bindingType;
866 case VK_SHADER_STAGE_VERTEX_BIT: return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipelineStages);
867 case VK_SHADER_STAGE_GEOMETRY_BIT: return subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipelineStages);
868 case VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT: return subgroups::makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipelineStages, caseDef.shaderStage);
869 case VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT: return subgroups::makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipelineStages, caseDef.shaderStage);
892 const subgroups::SSBOData inputData =
894 subgroups::SSBOData::InitializeNonZero, // InputDataInitializeType initializeType;
895 subgroups::SSBOData::LayoutStd430, // InputDataLayoutType layout;
897 subgroups::maxSupportedSubgroupSize(), // vk::VkDeviceSize numElements;
903 return subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComputeOrMesh);
905 return subgroups::makeMeshTest(context, VK_FORMAT_R32_UINT, &inputData, 1, nullptr, checkComputeOrMesh);
917 result = subgroups::makeComputeTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComputeOrMesh, size);
919 result = subgroups::makeMeshTest(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkComputeOrMesh, size);
932 const VkShaderStageFlags stages = subgroups::getPossibleGraphicsSubgroupStages(context, caseDef.shaderStage);
933 const subgroups::SSBOData inputData =
935 subgroups::SSBOData::InitializeNonZero, // InputDataInitializeType initializeType;
936 subgroups::SSBOData::LayoutStd430, // InputDataLayoutType layout;
938 subgroups::maxSupportedSubgroupSize(), // vk::VkDeviceSize numElements;
939 subgroups::SSBOData::BindingSSBO, // bool isImage;
944 return subgroups::allStages(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipelineStages, stages);
949 const VkShaderStageFlags stages = subgroups::getPossibleRayTracingSubgroupStages(context, caseDef.shaderStage);
950 const subgroups::SSBOData inputData =
952 subgroups::SSBOData::InitializeNonZero, // InputDataInitializeType initializeType;
953 subgroups::SSBOData::LayoutStd430, // InputDataLayoutType layout;
955 subgroups::maxSupportedSubgroupSize(), // vk::VkDeviceSize numElements;
956 subgroups::SSBOData::BindingSSBO, // bool isImage;
961 return subgroups::allRayTracingStages(context, VK_FORMAT_R32_UINT, &inputData, 1, DE_NULL, checkVertexPipelineStages, stages);
971 namespace subgroups
1125 } // subgroups