Home
last modified time | relevance | path

Searched refs:queryCount (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_query_pool.h30 size += vn_sizeof_uint32_t(&val->queryCount); in vn_sizeof_VkQueryPoolCreateInfo_self()
60 vn_encode_uint32_t(enc, &val->queryCount); in vn_encode_VkQueryPoolCreateInfo_self()
197 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize… in vn_sizeof_vkGetQueryPoolResults() argument
206 cmd_size += vn_sizeof_uint32_t(&queryCount); in vn_sizeof_vkGetQueryPoolResults()
215 … VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize… in vn_encode_vkGetQueryPoolResults() argument
225 vn_encode_uint32_t(enc, &queryCount); in vn_encode_vkGetQueryPoolResults()
232 …(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize… in vn_sizeof_vkGetQueryPoolResults_reply() argument
256 … VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize… in vn_decode_vkGetQueryPoolResults_reply() argument
282 …_vkResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) in vn_sizeof_vkResetQueryPool() argument
291 cmd_size += vn_sizeof_uint32_t(&queryCount); in vn_sizeof_vkResetQueryPool()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkQueryPool.cpp86 , count(pCreateInfo->queryCount) in QueryPool()
118 return sizeof(Query) * pCreateInfo->queryCount; in ComputeRequiredAllocationSize()
121 VkResult QueryPool::getResults(uint32_t firstQuery, uint32_t queryCount, size_t dataSize, in getResults() argument
125 ASSERT(static_cast<size_t>(stride * queryCount) <= dataSize); in getResults()
128 ASSERT((firstQuery + queryCount) <= count); in getResults()
132 for(uint32_t i = firstQuery; i < (firstQuery + queryCount); i++, data += stride) in getResults()
203 void QueryPool::reset(uint32_t firstQuery, uint32_t queryCount) in reset() argument
206 ASSERT((firstQuery + queryCount) <= count); in reset()
208 for(uint32_t i = firstQuery; i < (firstQuery + queryCount); i++) in reset()
DVkQueryPool.hpp94 VkResult getResults(uint32_t firstQuery, uint32_t queryCount, size_t dataSize,
98 void reset(uint32_t firstQuery, uint32_t queryCount);
DVkCommandBuffer.cpp1124 CmdResetQueryPool(vk::QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount) in CmdResetQueryPool() argument
1127 , queryCount(queryCount) in CmdResetQueryPool()
1133 queryPool->reset(firstQuery, queryCount); in execute()
1141 const uint32_t queryCount; member in __anon6a895e2d0111::CmdResetQueryPool
1186 CmdCopyQueryPoolResults(const vk::QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount, in CmdCopyQueryPoolResults() argument
1190 , queryCount(queryCount) in CmdCopyQueryPoolResults()
1200 queryPool->getResults(firstQuery, queryCount, dstBuffer->getSize() - dstOffset, in execute()
1209 const uint32_t queryCount; member in __anon6a895e2d0111::CmdCopyQueryPoolResults
1399 void CommandBuffer::resetQueryPool(QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount) in resetQueryPool() argument
1401 addCommand<::CmdResetQueryPool>(queryPool, firstQuery, queryCount); in resetQueryPool()
[all …]
DVkCommandBuffer.hpp83 void resetQueryPool(QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount);
85 void copyQueryPoolResults(const QueryPool *queryPool, uint32_t firstQuery, uint32_t queryCount,
DVkPromotedExtensions.cpp214 …ResetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) in vkResetQueryPoolEXT() argument
216 vkResetQueryPool(device, queryPool, firstQuery, queryCount); in vkResetQueryPoolEXT()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_query_pool.c93 uint32_t queryCount) in vn_ResetQueryPool() argument
99 queryCount); in vn_ResetQueryPool()
106 uint32_t queryCount, in vn_GetQueryPoolResults() argument
129 const size_t packed_size = packed_stride * queryCount; in vn_GetQueryPoolResults()
145 dev->instance, device, queryPool, firstQuery, queryCount, packed_size, in vn_GetQueryPoolResults()
157 for (uint32_t i = 0; i < queryCount; i++) { in vn_GetQueryPoolResults()
166 for (uint32_t i = 0; i < queryCount; i++) { in vn_GetQueryPoolResults()
177 for (uint32_t i = 0; i < queryCount; i++) { in vn_GetQueryPoolResults()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_query.c97 VK_MULTIALLOC_DECL(&ma, struct dzn_query, queries, info->queryCount); in dzn_query_pool_create()
106 qpool->query_count = info->queryCount; in dzn_query_pool_create()
111 desc.Count = info->queryCount; in dzn_query_pool_create()
140 .Width = info->queryCount * qpool->query_size, in dzn_query_pool_create()
164 rdesc.Width = info->queryCount * (qpool->query_size + sizeof(uint64_t)); in dzn_query_pool_create()
229 uint32_t queryCount) in dzn_ResetQueryPool() argument
234 for (uint32_t q = 0; q < queryCount; q++) { in dzn_ResetQueryPool()
246 0, queryCount * qpool->query_size); in dzn_ResetQueryPool()
248 0, queryCount * sizeof(uint64_t)); in dzn_ResetQueryPool()
255 uint32_t queryCount, in dzn_GetQueryPoolResults() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp143 …evice device, vk::VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, VkQueryResultFl… in GetQueryPoolResultsVector() argument
149 output.resize(queryCount); in GetQueryPoolResultsVector()
155 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, output.data(… in GetQueryPoolResultsVector()
161 IntermediateVector intermediate(queryCount); in GetQueryPoolResultsVector()
170 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, intermediate… in GetQueryPoolResultsVector()
180 …evice device, vk::VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, VkQueryResultFl… in GetQueryPoolResultsVector() argument
185 output.resize(queryCount); in GetQueryPoolResultsVector()
191 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, output.data(… in GetQueryPoolResultsVector()
197 IntermediateVector intermediate(queryCount); in GetQueryPoolResultsVector()
206 …result = vk.getQueryPoolResults(device, queryPool, firstQuery, queryCount, totalSize, intermediate… in GetQueryPoolResultsVector()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DQueryInternalShaderTests.cpp106 uint32_t queryCount) { in GetExpectedResults() argument
108 for (size_t i = 0; i < queryCount; i++) { in GetExpectedResults()
122 void RunTest(uint32_t firstQuery, uint32_t queryCount, uint32_t destinationOffset) { in RunTest() argument
125 uint64_t size = queryCount * sizeof(uint64_t) + destinationOffset; in RunTest()
138 for (uint32_t i = 0; i < queryCount; i++) { in RunTest()
150 dawn_native::TimestampParams params = {firstQuery, queryCount, destinationOffset, kPeriod}; in RunTest()
161 GetExpectedResults(timestampValues, start, firstQuery, queryCount); in RunTest()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_query.c56 uint32_t pool_size = sizeof(*pool) + pCreateInfo->queryCount * sizeof(struct pipe_query *); in lvp_CreateQueryPool()
67 pool->count = pCreateInfo->queryCount; in lvp_CreateQueryPool()
97 uint32_t queryCount, in lvp_GetQueryPoolResults() argument
109 for (unsigned i = firstQuery; i < firstQuery + queryCount; i++) { in lvp_GetQueryPoolResults()
204 uint32_t queryCount) in lvp_ResetQueryPool() argument
209 for (uint32_t i = 0; i < queryCount; i++) { in lvp_ResetQueryPool()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_query.c44 const uint32_t query_size = pCreateInfo->queryCount * sizeof(uint32_t); in pvr_CreateQueryPool()
121 uint32_t queryCount, in pvr_GetQueryPoolResults() argument
134 uint32_t queryCount) in pvr_CmdResetQueryPool() argument
142 uint32_t queryCount, in pvr_CmdCopyQueryPoolResults() argument
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_query.c48 uint32_t queryCount, in panvk_GetQueryPoolResults() argument
62 uint32_t queryCount, in panvk_CmdCopyQueryPoolResults() argument
75 uint32_t queryCount) in panvk_CmdResetQueryPool() argument
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_query.c181 assert(pCreateInfo->queryCount > 0); in v3dv_CreateQueryPool()
190 pool->query_count = pCreateInfo->queryCount; in v3dv_CreateQueryPool()
599 uint32_t queryCount, in v3dv_GetQueryPoolResults() argument
608 return v3dv_get_query_pool_results(device, pool, firstQuery, queryCount, in v3dv_GetQueryPoolResults()
616 uint32_t queryCount) in v3dv_CmdResetQueryPool() argument
621 v3dv_cmd_buffer_reset_queries(cmd_buffer, pool, firstQuery, queryCount); in v3dv_CmdResetQueryPool()
628 uint32_t queryCount, in v3dv_CmdCopyQueryPoolResults() argument
639 firstQuery, queryCount, in v3dv_CmdCopyQueryPoolResults()
706 uint32_t queryCount) in v3dv_ResetQueryPool() argument
711 v3dv_reset_query_pools(device, pool, firstQuery, queryCount); in v3dv_ResetQueryPool()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_query.c213 assert(pCreateInfo->queryCount > 0); in tu_CreateQueryPool()
311 pCreateInfo->queryCount * slot_size, TU_BO_ALLOC_NO_FLAGS); in tu_CreateQueryPool()
329 pool->size = pCreateInfo->queryCount; in tu_CreateQueryPool()
471 uint32_t queryCount, in get_query_pool_results() argument
477 assert(dataSize >= stride * queryCount); in get_query_pool_results()
481 for (uint32_t i = 0; i < queryCount; i++) { in get_query_pool_results()
555 uint32_t queryCount, in tu_GetQueryPoolResults() argument
563 assert(firstQuery + queryCount <= pool->size); in tu_GetQueryPoolResults()
575 return get_query_pool_results(device, pool, firstQuery, queryCount, in tu_GetQueryPoolResults()
608 uint32_t queryCount, in emit_copy_query_pool_results() argument
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandEncoder.cpp379 uint32_t queryCount, in ValidateQuerySetResolve() argument
387 queryCount > querySet->GetQueryCount() - firstQuery, in ValidateQuerySetResolve()
390 firstQuery, queryCount, querySet->GetQueryCount(), querySet); in ValidateQuerySetResolve()
400 (static_cast<uint64_t>(queryCount) * sizeof(uint64_t) <= in ValidateQuerySetResolve()
405 querySet, static_cast<uint64_t>(queryCount) * sizeof(uint64_t), destination, in ValidateQuerySetResolve()
414 uint32_t queryCount, in EncodeTimestampsToNanosecondsConversion() argument
437 TimestampParams params = {firstQuery, queryCount, in EncodeTimestampsToNanosecondsConversion()
994 uint32_t queryCount, in APIResolveQuerySet() argument
1004 DAWN_TRY(ValidateQuerySetResolve(querySet, firstQuery, queryCount, destination, in APIResolveQuerySet()
1017 cmd->queryCount = queryCount; in APIResolveQuerySet()
[all …]
DCommandEncoder.h71 uint32_t queryCount,
/third_party/mesa3d/src/intel/vulkan/
DgenX_query.c177 pool->slots = pCreateInfo->queryCount; in genX()
441 uint32_t queryCount, in genX()
467 for (uint32_t i = 0; i < queryCount; i++) { in genX()
728 uint32_t queryCount) in genX()
735 for (uint32_t i = 0; i < queryCount; i++) { in genX()
743 for (uint32_t i = 0; i < queryCount; i++) { in genX()
765 for (uint32_t i = 0; i < queryCount; i++) in genX()
775 for (uint32_t i = 0; i < queryCount; i++) { in genX()
791 for (uint32_t i = 0; i < queryCount; i++) in genX()
805 uint32_t queryCount) in genX()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_query.c1143 pool->availability_offset = pool->stride * pCreateInfo->queryCount; in radv_CreateQueryPool()
1146 pool->size += 4 * pCreateInfo->queryCount; in radv_CreateQueryPool()
1180 uint32_t queryCount, size_t dataSize, void *pData, VkDeviceSize stride, in radv_GetQueryPoolResults() argument
1191 for (unsigned query_idx = 0; query_idx < queryCount; ++query_idx, data += stride) { in radv_GetQueryPoolResults()
1484 uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, in radv_CmdCopyQueryPoolResults() argument
1496 if (!queryCount) in radv_CmdCopyQueryPoolResults()
1523 for (unsigned i = 0; i < queryCount; ++i, dest_va += stride) { in radv_CmdCopyQueryPoolResults()
1535 dst_buffer->offset + dstOffset, pool->stride, stride, dst_size, queryCount, in radv_CmdCopyQueryPoolResults()
1540 for (unsigned i = 0; i < queryCount; ++i, dest_va += stride) { in radv_CmdCopyQueryPoolResults()
1554 pool->stride, stride, dst_size, queryCount, flags, pool->pipeline_stats_mask, in radv_CmdCopyQueryPoolResults()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsOcclusionQueryTests.cpp305 const deUint32 queryCount = 1u; in iterate() local
306 std::vector<VkDeviceSize> sampleCounts (queryCount); in iterate()
316 queryCount, // uint32_t queryCount; in iterate()
456 vk.cmdResetQueryPool(*cmdBuffer, queryPool, 0, queryCount); in iterate()
563 …VK_CHECK(vk.getQueryPoolResults(device, queryPool, 0u, queryCount, queryCount * sizeof(VkDeviceSiz… in iterate()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUCommandEncoder.cpp159 interop::GPUSize32 queryCount, in resolveQuerySet() argument
172 !conv(c, queryCount) || // in resolveQuerySet()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp365 uint32_t queryCount = std::distance(firstTrueIt, nextFalseIt); in ResetUsedQuerySetsOnRenderPass() local
370 queryCount); in ResetUsedQuerySetsOnRenderPass()
391 uint32_t queryCount, in RecordResolveQuerySetCmd() argument
397 auto lastIt = availability.begin() + firstQuery + queryCount; in RecordResolveQuerySetCmd()
764 cmd->queryCount * sizeof(uint64_t)); in RecordCommands()
771 cmd->queryCount; in RecordCommands()
778 cmd->queryCount * sizeof(uint64_t), 0u); in RecordCommands()
785 cmd->queryCount, destination, cmd->destinationOffset); in RecordCommands()
DQuerySetVk.cpp82 createInfo.queryCount = std::max(GetQueryCount(), uint32_t(1u)); in Initialize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DQueryVk.cpp123 uint32_t queryCount = 1; in allocateQuery() local
127 queryCount = std::max(contextVk->getCurrentViewCount(), 1u); in allocateQuery()
131 queryCount); in allocateQuery()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp103 uint32_t queryCount, in RecordResolveQuerySetCmd() argument
109 auto lastIt = availability.begin() + firstQuery + queryCount; in RecordResolveQuerySetCmd()
947 uint32_t queryCount = cmd->queryCount; in RecordCommands() local
954 queryCount * sizeof(uint64_t))); in RecordCommands()
962 auto endIt = querySet->GetQueryAvailability().begin() + firstQuery + queryCount; in RecordCommands()
967 queryCount * sizeof(uint64_t))); in RecordCommands()
973 RecordResolveQuerySetCmd(commandList, device, querySet, firstQuery, queryCount, in RecordCommands()

1234