Home
last modified time | relevance | path

Searched refs:queryIndex (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp36 uint32_t queryIndex, in ValidateQueryIndexOverwrite() argument
39 DAWN_INVALID_IF(it != queryAvailabilityMap.end() && it->second[queryIndex], in ValidateQueryIndexOverwrite()
41 queryIndex, querySet); in ValidateQueryIndexOverwrite()
100 void RenderPassEncoder::TrackQueryAvailability(QuerySetBase* querySet, uint32_t queryIndex) { in TrackQueryAvailability() argument
105 mUsageTracker.TrackQueryAvailability(querySet, queryIndex); in TrackQueryAvailability()
108 mCommandEncoder->TrackQueryAvailability(querySet, queryIndex); in TrackQueryAvailability()
306 void RenderPassEncoder::APIBeginOcclusionQuery(uint32_t queryIndex) { in APIBeginOcclusionQuery() argument
316 DAWN_INVALID_IF(queryIndex >= mOcclusionQuerySet->GetQueryCount(), in APIBeginOcclusionQuery()
318 queryIndex, mOcclusionQuerySet->GetQueryCount(), in APIBeginOcclusionQuery()
326 ValidateQueryIndexOverwrite(mOcclusionQuerySet.Get(), queryIndex, in APIBeginOcclusionQuery()
[all …]
DRenderPassEncoder.h59 void APIBeginOcclusionQuery(uint32_t queryIndex);
62 void APIWriteTimestamp(QuerySetBase* querySet, uint32_t queryIndex);
73 void TrackQueryAvailability(QuerySetBase* querySet, uint32_t queryIndex);
DComputePassEncoder.cpp405 void ComputePassEncoder::APIWriteTimestamp(QuerySetBase* querySet, uint32_t queryIndex) { in APIWriteTimestamp() argument
411 DAWN_TRY(ValidateTimestampQuery(querySet, queryIndex)); in APIWriteTimestamp()
414 mCommandEncoder->TrackQueryAvailability(querySet, queryIndex); in APIWriteTimestamp()
419 cmd->queryIndex = queryIndex; in APIWriteTimestamp()
423 "encoding %s.WriteTimestamp(%s, %u).", this, querySet, queryIndex); in APIWriteTimestamp()
DCommands.h75 uint32_t queryIndex; member
191 uint32_t queryIndex; member
276 uint32_t queryIndex; member
DCommandEncoder.h39 void TrackQueryAvailability(QuerySetBase* querySet, uint32_t queryIndex);
78 void APIWriteTimestamp(QuerySetBase* querySet, uint32_t queryIndex);
DCommandEncoder.cpp498 void CommandEncoder::TrackQueryAvailability(QuerySetBase* querySet, uint32_t queryIndex) { in TrackQueryAvailability() argument
506 querySet->SetQueryAvailability(queryIndex, true); in TrackQueryAvailability()
1059 void CommandEncoder::APIWriteTimestamp(QuerySetBase* querySet, uint32_t queryIndex) { in APIWriteTimestamp() argument
1065 DAWN_TRY(ValidateTimestampQuery(querySet, queryIndex)); in APIWriteTimestamp()
1068 TrackQueryAvailability(querySet, queryIndex); in APIWriteTimestamp()
1073 cmd->queryIndex = queryIndex; in APIWriteTimestamp()
1077 "encoding %s.WriteTimestamp(%s, %u).", this, querySet, queryIndex); in APIWriteTimestamp()
DPassResourceUsageTracker.cpp247 uint32_t queryIndex) { in TrackQueryAvailability() argument
255 it->second[queryIndex] = true; in TrackQueryAvailability()
DPassResourceUsageTracker.h70 void TrackQueryAvailability(QuerySetBase* querySet, uint32_t queryIndex);
DComputePassEncoder.h52 void APIWriteTimestamp(QuerySetBase* querySet, uint32_t queryIndex);
DCommandValidation.cpp65 MaybeError ValidateTimestampQuery(QuerySetBase* querySet, uint32_t queryIndex) { in ValidateTimestampQuery() argument
69 DAWN_INVALID_IF(queryIndex >= querySet->GetQueryCount(), in ValidateTimestampQuery()
70 "Query index (%u) exceeds the number of queries (%u) in %s.", queryIndex, in ValidateTimestampQuery()
DCommandValidation.h32 MaybeError ValidateTimestampQuery(QuerySetBase* querySet, uint32_t queryIndex);
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPURenderPassEncoder.cpp66 void GPURenderPassEncoder::beginOcclusionQuery(Napi::Env, interop::GPUSize32 queryIndex) { in beginOcclusionQuery() argument
67 enc_.BeginOcclusionQuery(queryIndex); in beginOcclusionQuery()
77 interop::GPUSize32 queryIndex) { in beginPipelineStatisticsQuery() argument
87 interop::GPUSize32 queryIndex) { in writeTimestamp() argument
95 enc_.WriteTimestamp(q, queryIndex); in writeTimestamp()
DGPUComputePassEncoder.cpp56 interop::GPUSize32 queryIndex) { in beginPipelineStatisticsQuery() argument
66 interop::GPUSize32 queryIndex) { in writeTimestamp() argument
74 enc_.WriteTimestamp(q, queryIndex); in writeTimestamp()
DGPURenderPassEncoder.h51 void beginOcclusionQuery(Napi::Env, interop::GPUSize32 queryIndex) override;
55 interop::GPUSize32 queryIndex) override;
59 interop::GPUSize32 queryIndex) override;
DGPUComputePassEncoder.h48 interop::GPUSize32 queryIndex) override;
52 interop::GPUSize32 queryIndex) override;
DGPUCommandEncoder.cpp145 interop::GPUSize32 queryIndex) { in writeTimestamp() argument
153 enc_.WriteTimestamp(q, queryIndex); in writeTimestamp()
DGPUCommandEncoder.h61 interop::GPUSize32 queryIndex) override;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktPrimitivesGeneratedQueryTests.cpp314 const deUint32 queryIndex = 0; in iterate() local
406 vk.cmdResetQueryPool(*cmdBuffer, *pgqPool, queryIndex, queryCount); in iterate()
409 vk.cmdResetQueryPool(*cmdBuffer, *xfbPool, queryIndex, queryCount); in iterate()
421 vk.cmdBeginQuery(*cmdBuffer, *pgqPool, queryIndex, queryControlFlags); in iterate()
423 …vk.cmdBeginQueryIndexedEXT(*cmdBuffer, *pgqPool, queryIndex, queryControlFlags, m_parameters.pgqSt… in iterate()
439 vk.cmdBeginQuery(*cmdBuffer, *xfbPool, queryIndex, queryControlFlags); in iterate()
441 …vk.cmdBeginQueryIndexedEXT(*cmdBuffer, *xfbPool, queryIndex, queryControlFlags, m_parameters.xfbSt… in iterate()
462 vk.cmdEndQuery(*cmdBuffer, *pgqPool, queryIndex); in iterate()
464 vk.cmdEndQueryIndexedEXT(*cmdBuffer, *pgqPool, queryIndex, m_parameters.pgqStreamIndex()); in iterate()
469 vk.cmdEndQuery(*cmdBuffer, *xfbPool, queryIndex); in iterate()
[all …]
DvktTransformFeedbackSimpleTests.cpp1939 const deUint32 queryIndex = 0u; in iterate() local
1975 vk.cmdResetQueryPool(*cmdBuffer, *queryPool, queryIndex, queryCountersNumber); in iterate()
1984 vk.cmdBeginQuery(*cmdBuffer, *queryPool, queryIndex, 0u); in iterate()
1986 vk.cmdBeginQueryIndexedEXT(*cmdBuffer, *queryPool, queryIndex, 0u, m_parameters.streamId); in iterate()
1995 vk.cmdEndQuery(*cmdBuffer, *queryPool, queryIndex); in iterate()
1997 vk.cmdEndQueryIndexedEXT(*cmdBuffer, *queryPool, queryIndex, m_parameters.streamId); in iterate()
2006 …vk.cmdCopyQueryPoolResults(*cmdBuffer, *queryPool, queryIndex, queryCountersNumber, *queryPoolResu… in iterate()
2027 vk.resetQueryPool(device, *queryPool, queryIndex, queryCountersNumber); in iterate()
2042 …vk.getQueryPoolResults(device, *queryPool, queryIndex, queryCountersNumber, queryDataSize, queryDa… in iterate()
2098 vk.resetQueryPool(device, *queryPool, queryIndex, queryCountersNumber); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
DvktPrimitivesGeneratedQueryTests.cpp314 const deUint32 queryIndex = 0; in iterate() local
406 vk.cmdResetQueryPool(*cmdBuffer, *pgqPool, queryIndex, queryCount); in iterate()
409 vk.cmdResetQueryPool(*cmdBuffer, *xfbPool, queryIndex, queryCount); in iterate()
421 vk.cmdBeginQuery(*cmdBuffer, *pgqPool, queryIndex, queryControlFlags); in iterate()
423 …vk.cmdBeginQueryIndexedEXT(*cmdBuffer, *pgqPool, queryIndex, queryControlFlags, m_parameters.pgqSt… in iterate()
439 vk.cmdBeginQuery(*cmdBuffer, *xfbPool, queryIndex, queryControlFlags); in iterate()
441 …vk.cmdBeginQueryIndexedEXT(*cmdBuffer, *xfbPool, queryIndex, queryControlFlags, m_parameters.xfbSt… in iterate()
462 vk.cmdEndQuery(*cmdBuffer, *pgqPool, queryIndex); in iterate()
464 vk.cmdEndQueryIndexedEXT(*cmdBuffer, *pgqPool, queryIndex, m_parameters.pgqStreamIndex()); in iterate()
469 vk.cmdEndQuery(*cmdBuffer, *xfbPool, queryIndex); in iterate()
[all …]
DvktTransformFeedbackSimpleTests.cpp1939 const deUint32 queryIndex = 0u; in iterate() local
1975 vk.cmdResetQueryPool(*cmdBuffer, *queryPool, queryIndex, queryCountersNumber); in iterate()
1984 vk.cmdBeginQuery(*cmdBuffer, *queryPool, queryIndex, 0u); in iterate()
1986 vk.cmdBeginQueryIndexedEXT(*cmdBuffer, *queryPool, queryIndex, 0u, m_parameters.streamId); in iterate()
1995 vk.cmdEndQuery(*cmdBuffer, *queryPool, queryIndex); in iterate()
1997 vk.cmdEndQueryIndexedEXT(*cmdBuffer, *queryPool, queryIndex, m_parameters.streamId); in iterate()
2006 …vk.cmdCopyQueryPoolResults(*cmdBuffer, *queryPool, queryIndex, queryCountersNumber, *queryPoolResu… in iterate()
2027 vk.resetQueryPool(device, *queryPool, queryIndex, queryCountersNumber); in iterate()
2042 …vk.getQueryPoolResults(device, *queryPool, queryIndex, queryCountersNumber, queryDataSize, queryDa… in iterate()
2098 vk.resetQueryPool(device, *queryPool, queryIndex, queryCountersNumber); in iterate()
[all …]
/third_party/mesa3d/src/mesa/main/
Dperformance_query.c267 unsigned queryIndex = queryid_to_index(queryId); in _mesa_GetPerfQueryInfoINTEL() local
284 ctx->pipe->get_intel_perf_query_info(ctx->pipe, queryIndex, &queryName, in _mesa_GetPerfQueryInfoINTEL()
378 unsigned queryIndex = queryid_to_index(queryId); in _mesa_GetPerfCounterInfoINTEL() local
403 ctx->pipe->get_intel_perf_query_info(ctx->pipe, queryIndex, &queryName, in _mesa_GetPerfCounterInfoINTEL()
415 get_perf_counter_info(ctx, queryIndex, counterIndex, in _mesa_GetPerfCounterInfoINTEL()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktDynamicRenderingRandomTests.cpp413 deUint32 queryIndex = 0u; in iterate() local
647 vk.cmdBeginQuery(cmdBuffer, *m_queryPool, queryIndex, 0); in iterate()
684 vk.cmdEndQuery(cmdBuffer, *m_queryPool, queryIndex); in iterate()
686 queryIndex += 3; in iterate()
693 queryIndex++; in iterate()
767 …vk.cmdCopyQueryPoolResults(*cmdBuffers.back(), *m_queryPool, 0, queryIndex, m_queryResults->object… in iterate()
821 while (i < queryIndex) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktDynamicRenderingRandomTests.cpp413 deUint32 queryIndex = 0u; in iterate() local
647 vk.cmdBeginQuery(cmdBuffer, *m_queryPool, queryIndex, 0); in iterate()
684 vk.cmdEndQuery(cmdBuffer, *m_queryPool, queryIndex); in iterate()
686 queryIndex += 3; in iterate()
693 queryIndex++; in iterate()
767 …vk.cmdCopyQueryPoolResults(*cmdBuffers.back(), *m_queryPool, 0, queryIndex, m_queryResults->object… in iterate()
821 while (i < queryIndex) in iterate()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp364 uint32_t queryIndex = std::distance(availability.begin(), firstTrueIt); in ResetUsedQuerySetsOnRenderPass() local
369 device->fn.CmdResetQueryPool(commands, ToBackend(querySet)->GetHandle(), queryIndex, in ResetUsedQuerySetsOnRenderPass()
384 querySet->GetHandle(), cmd->queryIndex); in RecordWriteTimestampCmd()
795 cmd->queryIndex, 1); in RecordCommands()
1015 cmd->queryIndex, 1); in RecordComputePass()
1294 cmd->queryIndex, 0); in RecordRenderPass()
1302 cmd->queryIndex); in RecordRenderPass()

12