/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/reconvergence/ |
H A D | vktReconvergenceTests.cpp | 87 deUint64 subgroupSizeToMask(deUint32 subgroupSize) in subgroupSizeToMask() argument 89 if (subgroupSize == 64) in subgroupSizeToMask() 92 return (1ULL << subgroupSize) - 1; in subgroupSizeToMask() 99 bitset128 bitsetFromU64(deUint64 mask, deUint32 subgroupSize) in bitsetFromU64() argument 101 mask &= subgroupSizeToMask(subgroupSize); in bitsetFromU64() 103 for (deUint32 i = 0; i < 128 / subgroupSize - 1; ++i) in bitsetFromU64() 105 result = (result << subgroupSize) | bitset128(mask); in bitsetFromU64() 111 deUint64 bitsetToU64(const bitset128 &bitset, deUint32 subgroupSize, deUint32 invocationID) in bitsetToU64() argument 114 copy >>= (invocationID / subgroupSize) * subgroupSize; in bitsetToU64() 318 bitsetElect(const bitset128& value, deInt32 subgroupSize) bitsetElect() argument 1149 simulate(bool countOnly, deUint32 subgroupSize, deUint32 invocationStride, deUint64 *ref) simulate() argument 1628 const deUint32 subgroupSize = subgroupProperties.subgroupSize; iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/reconvergence/ |
H A D | vktReconvergenceTests.cpp | 87 deUint64 subgroupSizeToMask(deUint32 subgroupSize) in subgroupSizeToMask() argument 89 if (subgroupSize == 64) in subgroupSizeToMask() 92 return (1ULL << subgroupSize) - 1; in subgroupSizeToMask() 99 bitset128 bitsetFromU64(deUint64 mask, deUint32 subgroupSize) in bitsetFromU64() argument 101 mask &= subgroupSizeToMask(subgroupSize); in bitsetFromU64() 103 for (deUint32 i = 0; i < 128 / subgroupSize - 1; ++i) in bitsetFromU64() 105 result = (result << subgroupSize) | bitset128(mask); in bitsetFromU64() 111 deUint64 bitsetToU64(const bitset128 &bitset, deUint32 subgroupSize, deUint32 invocationID) in bitsetToU64() argument 114 copy >>= (invocationID / subgroupSize) * subgroupSize; in bitsetToU64() 318 bitsetElect(const bitset128& value, deInt32 subgroupSize) bitsetElect() argument 1149 simulate(bool countOnly, deUint32 subgroupSize, deUint32 invocationStride, deUint64 *ref) simulate() argument 1628 const deUint32 subgroupSize = subgroupProperties.subgroupSize; iterate() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | OverlayVk.cpp | 40 uint32_t subgroupSize = subgroupProperties.subgroupSize; in init() local 43 if (subgroupSize != 32 && subgroupSize != 64) in init() 49 mSubgroupSize[1] = subgroupSize / 8; in init() 204 params.subgroupSize[0] = mSubgroupSize[0]; in cullWidgets() 205 params.subgroupSize[1] = mSubgroupSize[1]; in cullWidgets() 280 params.subgroupSize[0] = mSubgroupSize[0]; in onPresent() 281 params.subgroupSize[1] = mSubgroupSize[1]; in onPresent()
|
H A D | UtilsVk.h | 178 uint32_t subgroupSize[2]; member 185 uint32_t subgroupSize[2]; member
|
H A D | UtilsVk.cpp | 3384 ASSERT(params.subgroupSize[0] == 8 && in cullOverlayWidgets() 3385 (params.subgroupSize[1] == 8 || params.subgroupSize[1] == 4)); in cullOverlayWidgets() 3387 params.subgroupSize[1] == 8 ? OverlayCull_comp::kIs8x8 : OverlayCull_comp::kIs8x4; in cullOverlayWidgets() 3473 ASSERT(params.subgroupSize[0] == 8 && in drawOverlay() 3474 (params.subgroupSize[1] == 8 || params.subgroupSize[1] == 4)); in drawOverlay() 3476 params.subgroupSize[1] == 8 ? OverlayDraw_comp::kIs8x8 : OverlayDraw_comp::kIs8x4; in drawOverlay()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
H A D | glcSubgroupsBuiltinVarTests.cpp | 41 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() 49 if (subgroupSize != val) in checkVertexPipelineStagesSubgroupSize() 57 deUint32 width, deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 61 vector<deUint32> subgroupInvocationHits(subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID() 67 if (subgroupInvocationID >= subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 75 for (deUint32 i = 0; i < subgroupSize; ++i) in checkVertexPipelineStagesSubgroupInvocationID() 88 deUint32 subgroupSize) in checkComputeSubgroupSize() 124 if (subgroupSize != data[offset * 4]) in checkComputeSubgroupSize() 138 deUint32 subgroupSize) in checkComputeSubgroupInvocationID() 150 vector<deUint32> subgroupInvocationHits(subgroupSize, in checkComputeSubgroupInvocationID() 40 checkVertexPipelineStagesSubgroupSize(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize) checkVertexPipelineStagesSubgroupSize() argument 56 checkVertexPipelineStagesSubgroupInvocationID(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize) checkVertexPipelineStagesSubgroupInvocationID() argument 86 checkComputeSubgroupSize(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize) checkComputeSubgroupSize() argument 136 checkComputeSubgroupInvocationID(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize) checkComputeSubgroupInvocationID() argument [all...] |
H A D | glcSubgroupsTestsUtils.cpp | 605 int subgroupSize = context.getDeqpContext().getContextInfo().getInt(GL_SUBGROUP_SIZE_KHR); in getSubgroupSize() local 607 return subgroupSize; in getSubgroupSize() 1086 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in makeTessellationEvaluationFrameBufferTest() 1146 const deUint32 subgroupSize = getSubgroupSize(context); in makeTessellationEvaluationFrameBufferTest() local 1222 if (!checkResult(datas, width/2u, subgroupSize)) in makeTessellationEvaluationFrameBufferTest() 1272 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)) in makeGeometryFrameBufferTest() 1330 const deUint32 subgroupSize = getSubgroupSize(context); in makeGeometryFrameBufferTest() local 1416 if (!checkResult(datas, width, subgroupSize)) in makeGeometryFrameBufferTest() 1438 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), in allStages() 1577 const deUint32 subgroupSize in allStages() local 1083 makeTessellationEvaluationFrameBufferTest( Context& context, Format format, SSBOData* extraData, deUint32 extraDataCount, bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), const ShaderStageFlags shaderStage) makeTessellationEvaluationFrameBufferTest() argument 1269 makeGeometryFrameBufferTest( Context& context, Format format, SSBOData* extraData, deUint32 extraDataCount, bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)) makeGeometryFrameBufferTest() argument 1435 allStages( Context& context, Format format, SSBOData* extraDatas, deUint32 extraDatasCount, bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), const ShaderStageFlags shaderStageTested) allStages() argument 1720 makeVertexFrameBufferTest(Context& context, Format format, SSBOData* extraData, deUint32 extraDataCount, bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)) makeVertexFrameBufferTest() argument 1781 const deUint32 subgroupSize = getSubgroupSize(context); makeVertexFrameBufferTest() local 1890 makeFragmentFrameBufferTest(Context& context, Format format, SSBOData* extraDatas, deUint32 extraDatasCount, bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 height, deUint32 subgroupSize)) makeFragmentFrameBufferTest() argument 1953 const deUint32 subgroupSize = getSubgroupSize(context); makeFragmentFrameBufferTest() local 2038 makeComputeTest( Context& context, Format format, SSBOData* inputs, deUint32 inputsCount, bool (*checkResult)(std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize)) makeComputeTest() argument 2113 const deUint32 subgroupSize = getSubgroupSize(context); makeComputeTest() local [all...] |
H A D | glcSubgroupsTestsUtils.hpp | 455 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), 460 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)); 464 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize), 469 bool (*checkResult)(std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize)); 474 deUint32 height, deUint32 subgroupSize)); 481 deUint32 subgroupSize));
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
H A D | vktSubgroupsBallotBroadcastTests.cpp | 512 for (deUint32 subgroupSize = 1; subgroupSize <= subgroups::maxSupportedSubgroupSize(); subgroupSize *= 2) in createSubgroupsBallotBroadcastTests() 522 subgroupSize, // deUint32 requiredSubgroupSize; in createSubgroupsBallotBroadcastTests() 524 const string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize); in createSubgroupsBallotBroadcastTests() 551 for (deUint32 subgroupSize = 1; subgroupSize <= subgroups::maxSupportedSubgroupSize(); subgroupSize *= 2) in createSubgroupsBallotBroadcastTests() 561 subgroupSize, // deUint32 requiredSubgroupSize; in createSubgroupsBallotBroadcastTests() 563 const string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize) in createSubgroupsBallotBroadcastTests() [all...] |
H A D | vktSubgroupsSizeControlTests.cpp | 284 << "expected subgroupSize (" << checkInternalData->requiredSubgroupSize << ") doesn't match gl_SubgroupSize ( " << data[i].x() << ")" << TestLog::EndMessage; in checkComputeRequireFull() 634 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); in test() local 650 {subgroupSize, 1, 1}, in test() 651 {1, subgroupSize, 1}, in test() 652 {1, 1, subgroupSize}, in test() 664 subgroupSize, in test() 676 subgroupSize, in test() 690 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); in test() local 706 {subgroupSize, 1, 1}, in test() 707 {1, subgroupSize, in test() 804 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); testRequireFullSubgroups() local [all...] |
H A D | vktSubgroupsTestsUtils.hpp | 58 typedef bool (*CheckResult)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize); 59 typedef bool (*CheckResultFragment)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 height, deUint32 subgroupSize); 60 typedef bool (*CheckResultCompute)(const void* internalData, std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize); 257 bool operator() (const void* extraData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize, bool multipleCallsPossible) const in operator ()() argument 260 return m_allArgsFunc(extraData, datas, width, subgroupSize, multipleCallsPossible); in operator ()() 261 return m_noLastArgFunc(extraData, datas, width, subgroupSize); in operator ()() 372 const deUint32 subgroupSize, 385 const deUint32 subgroupSize,
|
H A D | vktSubgroupsBuiltinVarTests.cpp | 67 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() 77 if (subgroupSize != val) in checkVertexPipelineStagesSubgroupSize() 87 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 92 vector<deUint32> subgroupInvocationHits (subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID() 98 if (subgroupInvocationID >= subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 106 for (deUint32 i = 0; i < subgroupSize; ++i) in checkVertexPipelineStagesSubgroupInvocationID() 121 deUint32 subgroupSize) in checkComputeSubgroupSize() 158 if (subgroupSize != data[offset * 4]) in checkComputeSubgroupSize() 174 deUint32 subgroupSize) in checkComputeSubgroupInvocationID() 188 vector<deUint32> subgroupInvocationHits(subgroupSize, in checkComputeSubgroupInvocationID() 64 checkVertexPipelineStagesSubgroupSize(const void* internalData, vector<const void*> datas, deUint32 width, deUint32 subgroupSize) checkVertexPipelineStagesSubgroupSize() argument 84 checkVertexPipelineStagesSubgroupInvocationID(const void* internalData, vector<const void*> datas, deUint32 width, deUint32 subgroupSize) checkVertexPipelineStagesSubgroupInvocationID() argument 117 checkComputeSubgroupSize(const void* internalData, vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize) checkComputeSubgroupSize() argument 170 checkComputeSubgroupInvocationID(const void* internalData, vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize) checkComputeSubgroupInvocationID() argument [all...] |
H A D | vktSubgroupsTestsUtils.cpp | 938 return context.getSubgroupProperties().subgroupSize; in getSubgroupSize() 2761 const deUint32 subgroupSize = getSubgroupSize(context); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local 2832 if (!checkResult(internalData, datas, width/2u, subgroupSize)) in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() 2994 const deUint32 subgroupSize = getSubgroupSize(context); in makeGeometryFrameBufferTestRequiredSubgroupSize() local 3071 if (!checkResult(internalData, datas, width, subgroupSize)) in makeGeometryFrameBufferTestRequiredSubgroupSize() 3310 const deUint32 subgroupSize = getSubgroupSize(context); in allStagesRequiredSubgroupSize() local 3402 if (!checkResult(internalData, datas, usedWidth, subgroupSize, multiCall)) in allStagesRequiredSubgroupSize() 3426 if (!checkResult(internalData, datas, width, subgroupSize, false)) in allStagesRequiredSubgroupSize() 3572 const deUint32 subgroupSize = getSubgroupSize(context); in makeVertexFrameBufferTestRequiredSubgroupSize() local 3653 if (!checkResult(internalData, datas, width, subgroupSize)) in makeVertexFrameBufferTestRequiredSubgroupSize() 3792 const deUint32 subgroupSize = getSubgroupSize(context); makeFragmentFrameBufferTestRequiredSubgroupSize() local 4001 makeComputeOrMeshTestRequiredSubgroupSize(ComputeLike testType, Context& context, VkFormat format, const vkt::subgroups::SSBOData* inputs, deUint32 inputsCount, const void* internalData, vkt::subgroups::CheckResultCompute checkResult, const deUint32 pipelineShaderStageCreateFlags, const deUint32 numWorkgroups[3], const deBool isRequiredSubgroupSize, const deUint32 subgroupSize, const deUint32 localSizesToTest[][3], const deUint32 localSizesToTestCount) makeComputeOrMeshTestRequiredSubgroupSize() argument 4338 makeComputeTestRequiredSubgroupSize(Context& context, VkFormat format, const SSBOData* inputs, deUint32 inputsCount, const void* internalData, CheckResultCompute checkResult, const deUint32 pipelineShaderStageCreateFlags, const deUint32 numWorkgroups[3], const deBool isRequiredSubgroupSize, const deUint32 subgroupSize, const deUint32 localSizesToTest[][3], const deUint32 localSizesToTestCount) makeComputeTestRequiredSubgroupSize() argument 4367 makeMeshTestRequiredSubgroupSize(Context& context, VkFormat format, const SSBOData* inputs, deUint32 inputsCount, const void* internalData, CheckResultCompute checkResult, const deUint32 pipelineShaderStageCreateFlags, const deUint32 numWorkgroups[3], const deBool isRequiredSubgroupSize, const deUint32 subgroupSize, const deUint32 localSizesToTest[][3], const deUint32 localSizesToTestCount) makeMeshTestRequiredSubgroupSize() argument 4408 const uint32_t subgroupSize = (isRequiredSubgroupSize ? requiredSubgroupSize : vkt::subgroups::getSubgroupSize(context)); makeComputeOrMeshTest() local 5000 const deUint32 subgroupSize = getSubgroupSize(context); allRayTracingStagesRequiredSubgroupSize() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
H A D | vktSubgroupsSizeControlTests.cpp | 283 << "expected subgroupSize (" << checkInternalData->requiredSubgroupSize << ") doesn't match gl_SubgroupSize ( " << data[i].x() << ")" << TestLog::EndMessage; in checkComputeRequireFull() 632 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); in test() local 648 {subgroupSize, 1, 1}, in test() 649 {1, subgroupSize, 1}, in test() 650 {1, 1, subgroupSize}, in test() 662 subgroupSize, in test() 675 subgroupSize, in test() 689 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); in test() local 705 {subgroupSize, 1, 1}, in test() 706 {1, subgroupSize, in test() 806 const deUint32 subgroupSize = subgroups::getSubgroupSize(context); testRequireFullSubgroups() local [all...] |
H A D | vktSubgroupsBallotBroadcastTests.cpp | 534 for (deUint32 subgroupSize = 1; subgroupSize <= subgroups::maxSupportedSubgroupSize(); subgroupSize *= 2) in createSubgroupsBallotBroadcastTests() 544 subgroupSize, // deUint32 requiredSubgroupSize; in createSubgroupsBallotBroadcastTests() 548 const string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize); in createSubgroupsBallotBroadcastTests() 577 for (deUint32 subgroupSize = 1; subgroupSize <= subgroups::maxSupportedSubgroupSize(); subgroupSize *= 2) in createSubgroupsBallotBroadcastTests() 587 subgroupSize, // deUint32 requiredSubgroupSize; in createSubgroupsBallotBroadcastTests() 591 const string testName = name + "_requiredsubgroupsize" + de::toString(subgroupSize) in createSubgroupsBallotBroadcastTests() [all...] |
H A D | vktSubgroupsTestsUtils.hpp | 58 typedef bool (*CheckResult)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize); 59 typedef bool (*CheckResultFragment)(const void* internalData, std::vector<const void*> datas, deUint32 width, deUint32 height, deUint32 subgroupSize); 60 typedef bool (*CheckResultCompute)(const void* internalData, std::vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize); 259 bool operator() (const void* extraData, std::vector<const void*> datas, deUint32 width, deUint32 subgroupSize, bool multipleCallsPossible) const in operator ()() argument 262 return m_allArgsFunc(extraData, datas, width, subgroupSize, multipleCallsPossible); in operator ()() 263 return m_noLastArgFunc(extraData, datas, width, subgroupSize); in operator ()() 374 const deUint32 subgroupSize, 387 const deUint32 subgroupSize,
|
H A D | vktSubgroupsBuiltinVarTests.cpp | 67 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupSize() 77 if (subgroupSize != val) in checkVertexPipelineStagesSubgroupSize() 87 deUint32 subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 92 vector<deUint32> subgroupInvocationHits (subgroupSize, 0); in checkVertexPipelineStagesSubgroupInvocationID() 98 if (subgroupInvocationID >= subgroupSize) in checkVertexPipelineStagesSubgroupInvocationID() 106 for (deUint32 i = 0; i < subgroupSize; ++i) in checkVertexPipelineStagesSubgroupInvocationID() 121 deUint32 subgroupSize) in checkComputeSubgroupSize() 158 if (subgroupSize != data[offset * 4]) in checkComputeSubgroupSize() 174 deUint32 subgroupSize) in checkComputeSubgroupInvocationID() 188 vector<deUint32> subgroupInvocationHits(subgroupSize, in checkComputeSubgroupInvocationID() 64 checkVertexPipelineStagesSubgroupSize(const void* internalData, vector<const void*> datas, deUint32 width, deUint32 subgroupSize) checkVertexPipelineStagesSubgroupSize() argument 84 checkVertexPipelineStagesSubgroupInvocationID(const void* internalData, vector<const void*> datas, deUint32 width, deUint32 subgroupSize) checkVertexPipelineStagesSubgroupInvocationID() argument 117 checkComputeSubgroupSize(const void* internalData, vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize) checkComputeSubgroupSize() argument 170 checkComputeSubgroupInvocationID(const void* internalData, vector<const void*> datas, const deUint32 numWorkgroups[3], const deUint32 localSize[3], deUint32 subgroupSize) checkComputeSubgroupInvocationID() argument [all...] |
H A D | vktSubgroupsTestsUtils.cpp | 938 return context.getSubgroupProperties().subgroupSize; in getSubgroupSize() 2773 const deUint32 subgroupSize = getSubgroupSize(context); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local 2844 if (!checkResult(internalData, datas, width/2u, subgroupSize)) in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() 3006 const deUint32 subgroupSize = getSubgroupSize(context); in makeGeometryFrameBufferTestRequiredSubgroupSize() local 3083 if (!checkResult(internalData, datas, width, subgroupSize)) in makeGeometryFrameBufferTestRequiredSubgroupSize() 3322 const deUint32 subgroupSize = getSubgroupSize(context); in allStagesRequiredSubgroupSize() local 3414 if (!checkResult(internalData, datas, usedWidth, subgroupSize, multiCall)) in allStagesRequiredSubgroupSize() 3438 if (!checkResult(internalData, datas, width, subgroupSize, false)) in allStagesRequiredSubgroupSize() 3584 const deUint32 subgroupSize = getSubgroupSize(context); in makeVertexFrameBufferTestRequiredSubgroupSize() local 3665 if (!checkResult(internalData, datas, width, subgroupSize)) in makeVertexFrameBufferTestRequiredSubgroupSize() 3804 const deUint32 subgroupSize = getSubgroupSize(context); makeFragmentFrameBufferTestRequiredSubgroupSize() local 4019 makeComputeOrMeshTestRequiredSubgroupSize(ComputeLike testType, Context& context, VkFormat format, const vkt::subgroups::SSBOData* inputs, deUint32 inputsCount, const void* internalData, vkt::subgroups::CheckResultCompute checkResult, const deUint32 pipelineShaderStageCreateFlags, const deUint32 numWorkgroups[3], const deBool isRequiredSubgroupSize, const deUint32 subgroupSize, const deUint32 localSizesToTest[][3], const deUint32 localSizesToTestCount) makeComputeOrMeshTestRequiredSubgroupSize() argument 4352 makeComputeTestRequiredSubgroupSize(Context& context, VkFormat format, const SSBOData* inputs, deUint32 inputsCount, const void* internalData, CheckResultCompute checkResult, const deUint32 pipelineShaderStageCreateFlags, const deUint32 numWorkgroups[3], const deBool isRequiredSubgroupSize, const deUint32 subgroupSize, const deUint32 localSizesToTest[][3], const deUint32 localSizesToTestCount) makeComputeTestRequiredSubgroupSize() argument 4381 makeMeshTestRequiredSubgroupSize(Context& context, VkFormat format, const SSBOData* inputs, deUint32 inputsCount, const void* internalData, CheckResultCompute checkResult, const deUint32 pipelineShaderStageCreateFlags, const deUint32 numWorkgroups[3], const deBool isRequiredSubgroupSize, const deUint32 subgroupSize, const deUint32 localSizesToTest[][3], const deUint32 localSizesToTestCount) makeMeshTestRequiredSubgroupSize() argument 4422 const uint32_t subgroupSize = (isRequiredSubgroupSize ? requiredSubgroupSize : vkt::subgroups::getSubgroupSize(context)); makeComputeOrMeshTest() local 5011 const deUint32 subgroupSize = getSubgroupSize(context); allRayTracingStagesRequiredSubgroupSize() local [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | pipeline.cc | 178 const uint32_t subgroupSize) { in SetShaderRequiredSubgroupSize() 180 subgroupSize > 0 && (subgroupSize & (subgroupSize - 1)) == 0; in SetShaderRequiredSubgroupSize() 181 if (subgroupSize == 0 || subgroupSize > 128 || !isPow2) { in SetShaderRequiredSubgroupSize() 183 std::to_string(subgroupSize) + " specified for shader name " + in SetShaderRequiredSubgroupSize() 188 return SetShaderRequiredSubgroupSize(shader, setting, subgroupSize); in SetShaderRequiredSubgroupSize() 177 SetShaderRequiredSubgroupSize(const Shader* shader, const uint32_t subgroupSize) SetShaderRequiredSubgroupSize() argument
|
H A D | pipeline.h | 276 const uint32_t subgroupSize); 432 const uint32_t subgroupSize);
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkComputePipelineConstructionUtil.cpp | 173 void ComputePipelineWrapper::setSubgroupSize (uint32_t subgroupSize) in setSubgroupSize() argument 175 m_subgroupSize = subgroupSize; in setSubgroupSize()
|
H A D | vkComputePipelineConstructionUtil.hpp | 80 void setSubgroupSize (uint32_t subgroupSize);
|
H A D | vkObjUtil.cpp | 49 const uint32_t subgroupSize) in makeComputePipeline() 55 subgroupSize // uint32_t requiredSubgroupSize; in makeComputePipeline() 60 subgroupSize != 0 ? &subgroupSizeCreateInfo : nullptr, // const void* pNext; in makeComputePipeline() 40 makeComputePipeline(const DeviceInterface& vk, const VkDevice device, const VkPipelineLayout pipelineLayout, const VkPipelineCreateFlags pipelineFlags, const void* pipelinePNext, const VkShaderModule shaderModule, const VkPipelineShaderStageCreateFlags shaderFlags, const VkSpecializationInfo* specializationInfo, const VkPipelineCache pipelineCache, const uint32_t subgroupSize) makeComputePipeline() argument
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | DeviceVk.cpp | 478 uint32_t subgroupSize = ext.minSubgroupSize * 2; in FindComputeSubgroupSize() local 479 if (subgroupSize <= ext.maxSubgroupSize) { in FindComputeSubgroupSize() 480 return subgroupSize; in FindComputeSubgroupSize()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeCooperativeMatrixTests.cpp | 256 case SUBGROUP_SIZE_NONE: return context.getSubgroupProperties().subgroupSize; in getSubgroupSizeFromMode() 991 const deUint32 subgroupSize = getSubgroupSizeFromMode(m_context, m_data.subgroupSizeMode); in iterate() local 1211 subgroupSize * m_data.subgroupsPerWorkgroupX, in iterate() 1404 if (output != (float)(N*M/subgroupSize) && in iterate() 1538 if (output != N*M/subgroupSize && in iterate()
|