Home
last modified time | relevance | path

Searched refs:localSize (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsBuiltinVarTests.cpp87 const deUint32 numWorkgroups[3], const deUint32 localSize[3], in checkComputeSubgroupSize()
98 for (deUint32 lX = 0; lX < localSize[0]; ++lX) in checkComputeSubgroupSize()
100 for (deUint32 lY = 0; lY < localSize[1]; ++lY) in checkComputeSubgroupSize()
102 for (deUint32 lZ = 0; lZ < localSize[2]; in checkComputeSubgroupSize()
106 nX * localSize[0] + lX; in checkComputeSubgroupSize()
108 nY * localSize[1] + lY; in checkComputeSubgroupSize()
110 nZ * localSize[2] + lZ; in checkComputeSubgroupSize()
113 numWorkgroups[0] * localSize[0]; in checkComputeSubgroupSize()
115 numWorkgroups[1] * localSize[1]; in checkComputeSubgroupSize()
137 const deUint32 numWorkgroups[3], const deUint32 localSize[3], in checkComputeSubgroupInvocationID()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DWorkGroupSize_test.cpp61 const WorkGroupSize &localSize = mTranslator->getComputeShaderLocalSize(); in TEST_F() local
62 ASSERT_EQ(5, localSize[0]); in TEST_F()
63 ASSERT_EQ(1, localSize[1]); in TEST_F()
64 ASSERT_EQ(1, localSize[2]); in TEST_F()
78 const WorkGroupSize &localSize = mTranslator->getComputeShaderLocalSize(); in TEST_F() local
79 ASSERT_EQ(5, localSize[0]); in TEST_F()
80 ASSERT_EQ(1, localSize[1]); in TEST_F()
81 ASSERT_EQ(10, localSize[2]); in TEST_F()
95 const WorkGroupSize &localSize = mTranslator->getComputeShaderLocalSize(); in TEST_F() local
96 ASSERT_EQ(5, localSize[0]); in TEST_F()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsBuiltinVarTests.cpp120 const deUint32 localSize[3], in checkComputeSubgroupSize()
133 for (deUint32 lX = 0; lX < localSize[0]; ++lX) in checkComputeSubgroupSize()
135 for (deUint32 lY = 0; lY < localSize[1]; ++lY) in checkComputeSubgroupSize()
137 for (deUint32 lZ = 0; lZ < localSize[2]; ++lZ) in checkComputeSubgroupSize()
140 nX * localSize[0] + lX; in checkComputeSubgroupSize()
142 nY * localSize[1] + lY; in checkComputeSubgroupSize()
144 nZ * localSize[2] + lZ; in checkComputeSubgroupSize()
147 numWorkgroups[0] * localSize[0]; in checkComputeSubgroupSize()
149 numWorkgroups[1] * localSize[1]; in checkComputeSubgroupSize()
173 const deUint32 localSize[3], in checkComputeSubgroupInvocationID()
[all …]
DvktSubgroupsSizeControlTests.cpp200 const deUint32 localSize[3], in checkCompute()
211 const deUint32 globalSizeX = numWorkgroups[0] * localSize[0]; in checkCompute()
212 const deUint32 globalSizeY = numWorkgroups[1] * localSize[1]; in checkCompute()
213 const deUint32 globalSizeZ = numWorkgroups[2] * localSize[2]; in checkCompute()
222 …log << TestLog::Message << "[" << localSize[0] << ", " << localSize[1] << ", " << localSize[2] << … in checkCompute()
231 …log << TestLog::Message << "[" << localSize[0] << ", " << localSize[1] << ", " << localSize[2] << … in checkCompute()
244 const deUint32 localSize[3], in checkComputeRequireFull()
255 const deUint32 globalSizeX = numWorkgroups[0] * localSize[0]; in checkComputeRequireFull()
256 const deUint32 globalSizeY = numWorkgroups[1] * localSize[1]; in checkComputeRequireFull()
257 const deUint32 globalSizeZ = numWorkgroups[2] * localSize[2]; in checkComputeRequireFull()
[all …]
DvktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp116 for (uint32_t localSize = 1u; localSize <= maxLocalSize; localSize *= 2u) in iterate() local
124 sizeof(localSize) // size_t size; in iterate()
131 sizeof(localSize), // dataSize in iterate()
132 &localSize // pData in iterate()
210 const auto expectedSubgroupCount = (localSize / size + ((localSize % size != 0u) ? 1u : 0u)); in iterate()
214 …msg << "Local size " << localSize << " with subgroup size " << size << " resulted in subgroup coun… in iterate()
220 msg << "Subgroup size " << size << " with local size " << localSize; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsBuiltinVarTests.cpp120 const deUint32 localSize[3], in checkComputeSubgroupSize()
133 for (deUint32 lX = 0; lX < localSize[0]; ++lX) in checkComputeSubgroupSize()
135 for (deUint32 lY = 0; lY < localSize[1]; ++lY) in checkComputeSubgroupSize()
137 for (deUint32 lZ = 0; lZ < localSize[2]; ++lZ) in checkComputeSubgroupSize()
140 nX * localSize[0] + lX; in checkComputeSubgroupSize()
142 nY * localSize[1] + lY; in checkComputeSubgroupSize()
144 nZ * localSize[2] + lZ; in checkComputeSubgroupSize()
147 numWorkgroups[0] * localSize[0]; in checkComputeSubgroupSize()
149 numWorkgroups[1] * localSize[1]; in checkComputeSubgroupSize()
173 const deUint32 localSize[3], in checkComputeSubgroupInvocationID()
[all …]
DvktSubgroupsSizeControlTests.cpp200 const deUint32 localSize[3], in checkCompute()
211 const deUint32 globalSizeX = numWorkgroups[0] * localSize[0]; in checkCompute()
212 const deUint32 globalSizeY = numWorkgroups[1] * localSize[1]; in checkCompute()
213 const deUint32 globalSizeZ = numWorkgroups[2] * localSize[2]; in checkCompute()
222 …log << TestLog::Message << "[" << localSize[0] << ", " << localSize[1] << ", " << localSize[2] << … in checkCompute()
231 …log << TestLog::Message << "[" << localSize[0] << ", " << localSize[1] << ", " << localSize[2] << … in checkCompute()
244 const deUint32 localSize[3], in checkComputeRequireFull()
255 const deUint32 globalSizeX = numWorkgroups[0] * localSize[0]; in checkComputeRequireFull()
256 const deUint32 globalSizeY = numWorkgroups[1] * localSize[1]; in checkComputeRequireFull()
257 const deUint32 globalSizeZ = numWorkgroups[2] * localSize[2]; in checkComputeRequireFull()
[all …]
DvktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp116 for (uint32_t localSize = 1u; localSize <= maxLocalSize; localSize *= 2u) in iterate() local
124 sizeof(localSize) // size_t size; in iterate()
131 sizeof(localSize), // dataSize in iterate()
132 &localSize // pData in iterate()
210 const auto expectedSubgroupCount = (localSize / size + ((localSize % size != 0u) ? 1u : 0u)); in iterate()
214 …msg << "Local size " << localSize << " with subgroup size " << size << " resulted in subgroup coun… in iterate()
220 msg << "Subgroup size " << size << " with local size " << localSize; in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fComputeShaderBuiltinVarTests.cpp90 UVec3 localSize; member
94 …SubCase (const UVec3& localSize_, const UVec3& numWorkGroups_) : localSize(localSize_), numWorkGro… in SubCase()
103 deUint32 getProgram (const UVec3& localSize);
136 static string genBuiltinVarSource (const string& varName, DataType varType, const UVec3& localSize) in genBuiltinVarSource() argument
141 …<< "layout (local_size_x = " << localSize.x() << ", local_size_y = " << localSize.y() << ", local_… in genBuiltinVarSource()
157 deUint32 ComputeBuiltinVarCase::getProgram (const UVec3& localSize) in getProgram() argument
159 LocalSizeProgramMap::const_iterator cachePos = m_progMap.find(localSize); in getProgram()
165 … ProgramSources() << ComputeSource(genBuiltinVarSource(m_varName, m_varType, localSize)))); in getProgram()
172 m_progMap[localSize] = program; in getProgram()
210 const deUint32 program = getProgram(subCase.localSize); in iterate()
[all …]
Des31fBasicComputeShaderTests.cpp121 …t char* name, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec… in UBOToSSBOInvertCase() argument
124 , m_localSize (localSize) in UBOToSSBOInvertCase()
243 …t char* name, const char* description, int numValues, const tcu::IVec3& localSize, const tcu::IVec… in CopyInvertSSBOCase() argument
246 , m_localSize (localSize) in CopyInvertSSBOCase()
366 …const char* description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec… in InvertSSBOInPlaceCase() argument
370 , m_localSize (localSize) in InvertSSBOInPlaceCase()
470 …const char* description, int numValues, bool isSized, const tcu::IVec3& localSize, const tcu::IVec… in WriteToMultipleSSBOCase() argument
474 , m_localSize (localSize) in WriteToMultipleSSBOCase()
598 …& context, const char* name, const char* description, const tcu::IVec3& localSize, const tcu::IVec… in SSBOLocalBarrierCase() argument
600 , m_localSize (localSize) in SSBOLocalBarrierCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemUseAfterFreeTests.cpp118 const tcu::IVec3& localSize,
125 const tcu::IVec3& localSize,
133 const tcu::IVec3& localSize,
148 const tcu::IVec3& localSize,
174 const tcu::IVec3& localSize, in UseAfterFreeTestCase() argument
180 , m_localSize (localSize) in UseAfterFreeTestCase()
191 const tcu::IVec3& localSize, in UBOToSSBOInvertCase() argument
194 …return new UseAfterFreeTestCase(testCtx, name, description, numValues, localSize, workSize, BUFFER… in UBOToSSBOInvertCase()
201 const tcu::IVec3& localSize, in CopyInvertSSBOCase() argument
204 …return new UseAfterFreeTestCase(testCtx, name, description, numValues, localSize, workSize, BUFFER… in CopyInvertSSBOCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/postmortem/
DvktPostmortemUseAfterFreeTests.cpp118 const tcu::IVec3& localSize,
125 const tcu::IVec3& localSize,
133 const tcu::IVec3& localSize,
148 const tcu::IVec3& localSize,
174 const tcu::IVec3& localSize, in UseAfterFreeTestCase() argument
180 , m_localSize (localSize) in UseAfterFreeTestCase()
191 const tcu::IVec3& localSize, in UBOToSSBOInvertCase() argument
194 …return new UseAfterFreeTestCase(testCtx, name, description, numValues, localSize, workSize, BUFFER… in UBOToSSBOInvertCase()
201 const tcu::IVec3& localSize, in CopyInvertSSBOCase() argument
204 …return new UseAfterFreeTestCase(testCtx, name, description, numValues, localSize, workSize, BUFFER… in CopyInvertSSBOCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp113 const UVec3& localSize (void) const { return m_localSize; } in localSize() function in vkt::compute::__anonb1478e330111::SubCase
163 …nVarSource (const string& varName, glu::DataType varType, const UVec3& localSize, bool readByComp…
167 deUint32 getProgram (const tcu::UVec3& localSize);
199 …<< glu::ComputeSource(genBuiltinVarSource(m_varName, m_varType, subCase.localSize(), m_readByCompo… in initPrograms()
203 …inVarSource (const string& varName, glu::DataType varType, const UVec3& localSize, bool readByComp… in genBuiltinVarSource() argument
208 …<< "layout (local_size_x = " << localSize.x() << ", local_size_y = " << localSize.y() << ", local_… in genBuiltinVarSource()
420 const tcu::UVec3 globalSize = subCase.localSize()*subCase.numWorkGroups(); in iterate()
424 …const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.loca… in iterate()
527 for (deUint32 localZ = 0; localZ < subCase.localSize().z(); localZ++) in iterate()
528 for (deUint32 localY = 0; localY < subCase.localSize().y(); localY++) in iterate()
[all …]
DvktComputeBasicComputeShaderTests.cpp124 const tcu::IVec3& localSize,
139 const tcu::IVec3& localSize,
152 const tcu::IVec3& localSize, in SharedVarTest() argument
155 , m_localSize (localSize) in SharedVarTest()
193 SharedVarTestInstance::SharedVarTestInstance (Context& context, const tcu::IVec3& localSize, const … in SharedVarTestInstance() argument
195 , m_localSize (localSize) in SharedVarTestInstance()
295 const tcu::IVec3& localSize,
310 const tcu::IVec3& localSize,
323 const tcu::IVec3& localSize, in SharedVarAtomicOpTest() argument
326 , m_localSize (localSize) in SharedVarAtomicOpTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
DvktComputeShaderBuiltinVarTests.cpp113 const UVec3& localSize (void) const { return m_localSize; } in localSize() function in vkt::compute::__anond33c3bf30111::SubCase
163 …nVarSource (const string& varName, glu::DataType varType, const UVec3& localSize, bool readByComp…
167 deUint32 getProgram (const tcu::UVec3& localSize);
199 …<< glu::ComputeSource(genBuiltinVarSource(m_varName, m_varType, subCase.localSize(), m_readByCompo… in initPrograms()
203 …inVarSource (const string& varName, glu::DataType varType, const UVec3& localSize, bool readByComp… in genBuiltinVarSource() argument
208 …<< "layout (local_size_x = " << localSize.x() << ", local_size_y = " << localSize.y() << ", local_… in genBuiltinVarSource()
420 const tcu::UVec3 globalSize = subCase.localSize()*subCase.numWorkGroups(); in iterate()
424 …const deUint32 numInvocations = subCase.localSize()[0] * subCase.localSize()[1] * subCase.loca… in iterate()
527 for (deUint32 localZ = 0; localZ < subCase.localSize().z(); localZ++) in iterate()
528 for (deUint32 localY = 0; localY < subCase.localSize().y(); localY++) in iterate()
[all …]
DvktComputeBasicComputeShaderTests.cpp124 const tcu::IVec3& localSize,
139 const tcu::IVec3& localSize,
152 const tcu::IVec3& localSize, in SharedVarTest() argument
155 , m_localSize (localSize) in SharedVarTest()
193 SharedVarTestInstance::SharedVarTestInstance (Context& context, const tcu::IVec3& localSize, const … in SharedVarTestInstance() argument
195 , m_localSize (localSize) in SharedVarTestInstance()
295 const tcu::IVec3& localSize,
310 const tcu::IVec3& localSize,
323 const tcu::IVec3& localSize, in SharedVarAtomicOpTest() argument
326 , m_localSize (localSize) in SharedVarAtomicOpTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderPropertyTests.cpp506 std::string getSharedMemoryBody (uint32_t localSize) in getSharedMemoryBody() argument
529 << " if (sharedArray[i] != " << localSize << ")\n" in getSharedMemoryBody()
553 static constexpr uint32_t localSize = 32u; member in vkt::MeshShader::__anon3cfbd74e0111::MaxTaskTotalMemorySizeCase
561 localSize, // uint32_t bufferElements; in createInstance()
587 const auto body = getSharedMemoryBody(localSize); in initPrograms()
590 taskReplacements["TASK_LOCAL_SIZE_X"] = de::toString(uint32_t{localSize}); in initPrograms()
609 static constexpr uint32_t localSize = 32u; member in vkt::MeshShader::__anon3cfbd74e0111::MaxMeshTotalMemorySizeCase
617 localSize, // uint32_t bufferElements; in createInstance()
638 const auto body = getSharedMemoryBody(localSize); in initPrograms()
641 meshReplacements["MESH_LOCAL_SIZE_X"] = de::toString(uint32_t{localSize}); in initPrograms()
DvktMeshShaderBuiltinTests.cpp113 uint32_t localSize; member
706 const auto localSize = (m_shareVertices ? kNumLayers : 1u); in initPrograms() local
717 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
831 const auto localSize = (m_shareVertices ? kQuadrants : 1u); in initPrograms() local
842 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
1503 const auto localSize = (m_taskNeeded ? 1u : m_extent.width); in initPrograms() local
1504 const auto maxVert = localSize * 3u; in initPrograms()
1512 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
1514 << "layout (max_vertices=" << maxVert << ", max_primitives=" << localSize << ") out;\n" in initPrograms()
1520 << " gl_PrimitiveCountNV = " << localSize << ";\n" in initPrograms()
[all …]
DvktMeshShaderBuiltinTestsEXT.cpp118 uint32_t localSize; member
839 const auto localSize = (m_shareVertices ? kNumLayers : 1u); in initPrograms() local
850 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
974 const auto localSize = (m_shareVertices ? kQuadrants : 1u); in initPrograms() local
985 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
1653 const auto localSize = (m_taskNeeded ? 1u : m_extent.width); in initPrograms() local
1654 const auto maxVert = localSize * 3u; in initPrograms()
1662 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
1664 << "layout (max_vertices=" << maxVert << ", max_primitives=" << localSize << ") out;\n" in initPrograms()
1670 << " SetMeshOutputsEXT(" << maxVert << ", " << localSize << ");\n" in initPrograms()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderPropertyTests.cpp506 std::string getSharedMemoryBody (uint32_t localSize) in getSharedMemoryBody() argument
529 << " if (sharedArray[i] != " << localSize << ")\n" in getSharedMemoryBody()
553 static constexpr uint32_t localSize = 32u; member in vkt::MeshShader::__anonf831cd0e0111::MaxTaskTotalMemorySizeCase
561 localSize, // uint32_t bufferElements; in createInstance()
587 const auto body = getSharedMemoryBody(localSize); in initPrograms()
590 taskReplacements["TASK_LOCAL_SIZE_X"] = de::toString(uint32_t{localSize}); in initPrograms()
609 static constexpr uint32_t localSize = 32u; member in vkt::MeshShader::__anonf831cd0e0111::MaxMeshTotalMemorySizeCase
617 localSize, // uint32_t bufferElements; in createInstance()
638 const auto body = getSharedMemoryBody(localSize); in initPrograms()
641 meshReplacements["MESH_LOCAL_SIZE_X"] = de::toString(uint32_t{localSize}); in initPrograms()
DvktMeshShaderBuiltinTests.cpp113 uint32_t localSize; member
706 const auto localSize = (m_shareVertices ? kNumLayers : 1u); in initPrograms() local
717 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
831 const auto localSize = (m_shareVertices ? kQuadrants : 1u); in initPrograms() local
842 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
1503 const auto localSize = (m_taskNeeded ? 1u : m_extent.width); in initPrograms() local
1504 const auto maxVert = localSize * 3u; in initPrograms()
1512 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
1514 << "layout (max_vertices=" << maxVert << ", max_primitives=" << localSize << ") out;\n" in initPrograms()
1520 << " gl_PrimitiveCountNV = " << localSize << ";\n" in initPrograms()
[all …]
DvktMeshShaderBuiltinTestsEXT.cpp118 uint32_t localSize; member
839 const auto localSize = (m_shareVertices ? kNumLayers : 1u); in initPrograms() local
850 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
974 const auto localSize = (m_shareVertices ? kQuadrants : 1u); in initPrograms() local
985 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
1653 const auto localSize = (m_taskNeeded ? 1u : m_extent.width); in initPrograms() local
1654 const auto maxVert = localSize * 3u; in initPrograms()
1662 << "layout (local_size_x=" << localSize << ") in;\n" in initPrograms()
1664 << "layout (max_vertices=" << maxVert << ", max_primitives=" << localSize << ") out;\n" in initPrograms()
1670 << " SetMeshOutputsEXT(" << maxVert << ", " << localSize << ");\n" in initPrograms()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DComputePipelineMTL.mm51 Origin3D localSize = GetStage(SingleShaderStage::Compute).metadata->localWorkgroupSize;
52 mLocalWorkgroupSize = MTLSizeMake(localSize.x, localSize.y, localSize.z);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DQualifierTypes.cpp742 for (size_t i = 0u; i < rightQualifier.localSize.size(); ++i) in JoinLayoutQualifiers()
744 if (rightQualifier.localSize[i] != -1) in JoinLayoutQualifiers()
746 if (joinedQualifier.localSize[i] != -1 && in JoinLayoutQualifiers()
747 joinedQualifier.localSize[i] != rightQualifier.localSize[i]) in JoinLayoutQualifiers()
753 joinedQualifier.localSize[i] = rightQualifier.localSize[i]; in JoinLayoutQualifiers()
/third_party/glslang/glslang/MachineIndependent/
Dreflection.h62 localSize[dim] = 0; in TReflection()
168 unsigned getLocalSize(int dim) const { return dim <= 2 ? localSize[dim] : 0; } in getLocalSize()
214 unsigned int localSize[3]; variable

1234