Home
last modified time | relevance | path

Searched refs:PLUGIN_ASSERT (Results 1 - 25 of 65) sorted by relevance

123

/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dgpu_semaphore_gles.cpp27 PLUGIN_ASSERT(device_.IsActive()); in GpuSemaphoreGles()
33 PLUGIN_ASSERT(device_.IsActive()); in GpuSemaphoreGles()
35 PLUGIN_ASSERT(handle != 0); in GpuSemaphoreGles()
44 PLUGIN_ASSERT(device_.IsActive()); in ~GpuSemaphoreGles()
H A Dgpu_program_gles.cpp92 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessStorageBlocks()
93 PLUGIN_ASSERT(t.iBind < Gles::ResourceLimits::MAX_BIND_IN_SET); in ProcessStorageBlocks()
101 PLUGIN_ASSERT(inUse[1] == (fi - 1)); in ProcessStorageBlocks()
113 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessUniformBlocks()
114 PLUGIN_ASSERT(t.iBind < Gles::ResourceLimits::MAX_BIND_IN_SET); in ProcessUniformBlocks()
157 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessImageTextures()
158 PLUGIN_ASSERT(t.iBind < Gles::ResourceLimits::MAX_BIND_IN_SET); in ProcessImageTextures()
168 PLUGIN_ASSERT(unit == (fi - 1)); in ProcessImageTextures()
180 PLUGIN_ASSERT(t.iSet < Gles::ResourceLimits::MAX_SETS); in ProcessCombinedSamplers()
181 PLUGIN_ASSERT( in ProcessCombinedSamplers()
[all...]
H A Dgpu_query_gles.cpp29 PLUGIN_ASSERT(static_cast<DeviceGLES&>(device).IsActive()); in GpuQueryGLES()
57 PLUGIN_ASSERT(queryIndex_ < plats_.size()); in GetPlatformData()
H A Drender_backend_gles.cpp725 PLUGIN_ASSERT(device_.IsActive()); in RenderBackendGLES()
740 PLUGIN_ASSERT(device_.IsActive()); in ~RenderBackendGLES()
816 PLUGIN_ASSERT(device_.IsActive()); in Render()
872 PLUGIN_ASSERT(externalSignals.size() == externalSemaphores.size()); in RenderProcessEndCommandLists()
911 PLUGIN_ASSERT(timers_.count(debugName) == 1); in RenderSingleCommandList()
922 PLUGIN_ASSERT(gpuQuery); in RenderSingleCommandList()
925 PLUGIN_ASSERT(platData.queryObject); in RenderSingleCommandList()
935 PLUGIN_ASSERT(ref.rc); in RenderSingleCommandList()
962 PLUGIN_ASSERT(ref.type == RenderCommandType::BIND_PIPELINE); in RenderCommandBindPipeline()
966 PLUGIN_ASSERT(currentFrameBuffer in RenderCommandBindPipeline()
[all...]
H A Dgpu_buffer_gles.cpp80 PLUGIN_ASSERT(device_.IsActive());
140 PLUGIN_ASSERT(device_.IsActive()); in ~GpuBufferGLES()
194 PLUGIN_ASSERT(device_.IsActive()); in Map()
220 PLUGIN_ASSERT(device_.IsActive()); in Unmap()
244 PLUGIN_ASSERT(device_.IsActive()); in MapMemory()
H A Dgpu_sampler_gles.cpp28 PLUGIN_ASSERT(device_.IsActive()); in GpuSamplerGLES()
117 PLUGIN_ASSERT(device_.IsActive()); in ~GpuSamplerGLES()
H A Drender_frame_sync_gles.cpp44 PLUGIN_ASSERT(frameFences_[bufferingIndex_].aFence == nullptr); in BeginFrame()
/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Drender_graph.cpp163 PLUGIN_ASSERT(false && "non-valid render command"); in DebugPrintCommandListCommand()
171 PLUGIN_ASSERT(CORE_RENDER_GRAPH_PRINT_RESOURCE_STATES); // do not call this function normally in DebugBarrierPrint()
179 PLUGIN_ASSERT(type == RenderHandleType::GPU_IMAGE); in DebugBarrierPrint()
190 PLUGIN_ASSERT(CORE_RENDER_GRAPH_PRINT_RESOURCE_STATES); // do not call this function normally in DebugRenderPassLayoutPrint()
202 PLUGIN_ASSERT(CORE_RENDER_GRAPH_PRINT_RESOURCE_STATES); // do not call this function normally in DebugPrintImageState()
236 PLUGIN_ASSERT(renderPassCount > 1); in UpdateMultiRenderCommandListRenderPasses()
239 PLUGIN_ASSERT(firstRenderPass); in UpdateMultiRenderCommandListRenderPasses()
240 PLUGIN_ASSERT(firstRenderPass->subpasses.size() >= renderPassCount); in UpdateMultiRenderCommandListRenderPasses()
242 PLUGIN_ASSERT(lastRenderPass); in UpdateMultiRenderCommandListRenderPasses()
290 PLUGIN_ASSERT(stor in UpdateMultiRenderCommandListRenderPasses()
[all...]
H A Drenderer.cpp124 PLUGIN_ASSERT(renderNodeData.inputData); in InitializeRenderNodeContextData()
125 PLUGIN_ASSERT(renderNodeData.node); in InitializeRenderNodeContextData()
178 PLUGIN_ASSERT(renderNodeNameToIndex.size() == nodeStore.renderNodeData.size()); in PatchSignaling()
180 PLUGIN_ASSERT(nodeStore.renderNodeData[nodeIdx].inputData); in PatchSignaling()
196 PLUGIN_ASSERT(false); in PatchSignaling()
200 PLUGIN_ASSERT(false); in PatchSignaling()
265 PLUGIN_ASSERT(renderNodeGraphNodeStores[graphIdx]); in CreateGpuResourcesWithRenderNodes()
284 PLUGIN_ASSERT(nodeStorePtr); in RenderNodeExecution()
288 PLUGIN_ASSERT(nodeStore.renderNodeData[nodeIdx].node); in RenderNodeExecution()
292 PLUGIN_ASSERT(renderNodeContextDat in RenderNodeExecution()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dpipeline_create_functions_vk.cpp54 PLUGIN_ASSERT(attachments.size() == compatibilityAttachmentDescs.size()); in CreateAttachmentDescriptions()
55 PLUGIN_ASSERT(attachments.size() <= newAttachments.size()); in CreateAttachmentDescriptions()
56 PLUGIN_ASSERT(attachments.size() <= initialImageLayouts.size()); in CreateAttachmentDescriptions()
57 PLUGIN_ASSERT(attachments.size() <= finalImageLayouts.size()); in CreateAttachmentDescriptions()
66 PLUGIN_ASSERT(compatibilityAttachmentRef.format != VkFormat::VK_FORMAT_UNDEFINED); in CreateAttachmentDescriptions()
88 PLUGIN_ASSERT(attachments.size() == compatibilityAttachmentDescs.size()); in CreateAttachmentDescriptions2()
89 PLUGIN_ASSERT(attachments.size() <= newAttachments.size()); in CreateAttachmentDescriptions2()
90 PLUGIN_ASSERT(attachments.size() <= initialImageLayouts.size()); in CreateAttachmentDescriptions2()
91 PLUGIN_ASSERT(attachments.size() <= finalImageLayouts.size()); in CreateAttachmentDescriptions2()
127 PLUGIN_ASSERT(attachment in CreateAttachmentDescriptionsCompatibility()
[all...]
H A Dgpu_memory_allocator_vk.cpp203 PLUGIN_ASSERT(ref.resourceType == MemoryAllocatorResourceType::GPU_BUFFER || in PlatformGpuMemoryAllocator()
217 PLUGIN_ASSERT(memoryDebugStruct_.buffer == 0); in ~PlatformGpuMemoryAllocator()
218 PLUGIN_ASSERT(memoryDebugStruct_.image == 0); in ~PlatformGpuMemoryAllocator()
370 PLUGIN_ASSERT(iter->second < (uint32_t)customGpuBufferPools_.size()); in GetBufferPool()
381 PLUGIN_ASSERT(iter->second < (uint32_t)customGpuImagePools_.size()); in GetImagePool()
401 PLUGIN_ASSERT(customPool.resourceType == MemoryAllocatorResourceType::GPU_BUFFER); in CreatePoolForBuffers()
452 PLUGIN_ASSERT(customPool.resourceType == MemoryAllocatorResourceType::GPU_IMAGE); in CreatePoolForImages()
506 PLUGIN_ASSERT(iter->second < (uint32_t)customGpuBufferPools_.size()); in GetBufferPoolDebugName()
515 PLUGIN_ASSERT(iter->second < (uint32_t)customGpuImagePools_.size()); in GetImagePoolDebugName()
H A Dshader_module_vk.cpp38 PLUGIN_ASSERT(data.size() > 0); in CreateShaderModule()
62 PLUGIN_ASSERT(createInfo.spvData.size() > 0); in ShaderModuleVk()
63 PLUGIN_ASSERT(createInfo.shaderStageFlags & (ShaderStageFlagBits::CORE_SHADER_STAGE_VERTEX_BIT | in ShaderModuleVk()
H A Dgpu_program_vk.cpp42 PLUGIN_ASSERT(createData.vertShaderModule); in GpuShaderProgramVk()
43 PLUGIN_ASSERT(createData.fragShaderModule); in GpuShaderProgramVk()
95 PLUGIN_ASSERT(createData.compShaderModule); in GpuComputeProgramVk()
H A Drender_backend_vk.cpp188 PLUGIN_ASSERT(semaphoreIdx < platSwapchain.swapchainImages.semaphores.size()); in AcquirePresentationInfo() function
256 PLUGIN_ASSERT(false && "unknown result from vkAcquireNextImageKHR"); in AcquirePresentationInfo()
282 PLUGIN_ASSERT(swapImage); in AcquirePresentationInfo()
305 PLUGIN_ASSERT(presRef.imageLayout == ImageLayout::CORE_IMAGE_LAYOUT_PRESENT_SRC);
389 PLUGIN_ASSERT(false && "unknown result from vkQueuePresentKHR");
436 PLUGIN_ASSERT(renderCommandFrameData.renderCommandContexts.size() == commandBufferSubmitter_.commandBuffers.size());
480 PLUGIN_ASSERT(waitIdx < (uint32_t)commandBufferSubmitter_.commandBuffers.size());
519 PLUGIN_ASSERT(externalSignals.size() == externalSemaphores.size());
550 PLUGIN_ASSERT(signalSemaphoreCount <= maxSignalSemaphoreCount);
599 PLUGIN_ASSERT(mrpDat
[all...]
H A Dnode_context_pool_manager_vk.cpp138 PLUGIN_ASSERT(renderPassDesc.subpassCount > 0); in HashBeginRenderPass()
156 PLUGIN_ASSERT(attachmentCount <= PipelineStateConstants::MAX_RENDER_PASS_ATTACHMENT_COUNT); in CreateFramebuffer()
341 PLUGIN_ASSERT(frameIndexBack_ != frameCount); // prevent multiple calls per frame in BeginBackendFrame()
343 PLUGIN_ASSERT(frameIndexFront_ == frameIndexBack_); in BeginBackendFrame()
398 PLUGIN_ASSERT(frameIndexFront_ == frameIndexBack_); in GetContextCommandPool()
406 PLUGIN_ASSERT(frameIndexFront_ == frameIndexBack_); in GetContextSecondaryCommandPool()
408 PLUGIN_ASSERT(bufferingIndex_ < static_cast<uint32_t>(commandSecondaryPools_.size())); in GetContextSecondaryCommandPool()
418 PLUGIN_ASSERT(renderPassData.subpassIndex < static_cast<uint32_t>(beginRenderPass.subpasses.size()));
H A Dgpu_semaphore_vk.cpp47 PLUGIN_ASSERT(handle != 0); in GpuSemaphoreVk()
/foundation/graphic/graphic_3d/lume/LumeRender/src/perf/
H A Dgpu_query_manager.cpp33 PLUGIN_ASSERT(nameToHandle_.count(name) == 0 && "not an unique gpu query name"); in Create()
46 PLUGIN_ASSERT(nameToHandle_.count(name) > 0 && "gpu query name not found"); in GetGpuHandle()
59 PLUGIN_ASSERT(index < (uint32_t)resources_.size() && "gpu query name not found"); in Get()
/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_pod.cpp71 PLUGIN_ASSERT(offsetToData.index + offsetToData.byteSize <= (uint32_t)dataStore_.size()); in DestroyPod()
103 PLUGIN_ASSERT(index + byteSize <= (uint32_t)dataStore_.size()); in Set()
104 PLUGIN_ASSERT(srcData.size() <= byteSize); in Set()
126 PLUGIN_ASSERT(index + byteSize <= (uint32_t)dataStore_.size()); in Get()
H A Drender_data_store_manager.cpp54 PLUGIN_ASSERT(pendingRef.renderDataStore); in CommitFrameData()
171 PLUGIN_ASSERT(false); in Create()
185 PLUGIN_ASSERT(pointerToStoreHash_.contains(instance)); in Destroy()
244 PLUGIN_ASSERT(typeInfo.createDataStore && "createDataStore cannot be null"); in AddRenderDataStoreFactory()
245 PLUGIN_ASSERT(typeInfo.destroyDataStore && "destroyDataStore cannot be null"); in AddRenderDataStoreFactory()
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_barrier_list.cpp111 PLUGIN_ASSERT(val); in AddBarriersToBarrierPoint()
137 PLUGIN_ASSERT(ref.firstBarrierList); in AddBarriersToBarrierPoint()
138 PLUGIN_ASSERT(ref.lastBarrierList); in AddBarriersToBarrierPoint()
155 PLUGIN_ASSERT(index < barrierPointBarriers_.size()); in GetBarrierPointBarriers()
H A Drender_node_manager.cpp64 PLUGIN_ASSERT(typeInfo.createNode && "createNode cannot be null"); in AddRenderNodeFactory()
65 PLUGIN_ASSERT(typeInfo.destroyNode && "destroyNode cannot be null"); in AddRenderNodeFactory()
H A Dnode_context_pso_manager.cpp196 PLUGIN_ASSERT(cache.psoCreationData.size() == cache.pipelineStateObjects.size()); in GetComputePsoHandle()
381 PLUGIN_ASSERT(RenderHandleUtil::GetHandleType(handle) == RenderHandleType::COMPUTE_PSO); in GetComputePso()
388 PLUGIN_ASSERT(index < static_cast<uint32_t>(cache.psoCreationData.size())); in GetComputePso()
407 PLUGIN_ASSERT(RenderHandleUtil::GetHandleType(handle) == RenderHandleType::GRAPHICS_PSO);
418 PLUGIN_ASSERT(index < static_cast<uint32_t>(cache.psoCreationData.size()));
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_node_staging.cpp55 PLUGIN_ASSERT(bufferIdx < stagingConsumeStruct.bufferCopies.size()); in CopyHostDirectlyToBuffer()
65 PLUGIN_ASSERT(bufferDesc.byteSize >= srcSize); in CopyHostDirectlyToBuffer()
91 PLUGIN_ASSERT((size_t(bufferDesc.byteSize) - dstOffset) >= copySize); in CopyHostDirectlyToBuffer()
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_manager.cpp264 PLUGIN_ASSERT(gsd.data.size() == gsd.rhr.size()); in GetGraphicsStatesBySlot()
276 PLUGIN_ASSERT(gsd.data.size() == gsd.rhr.size()); in GetGraphicsStatesBySlot()
308 PLUGIN_ASSERT(bhIter->second < graphicsStates.rhr.size()); in GetBaseGraphicsStateVariantIndex()
446 PLUGIN_ASSERT(computeShaderMappings_.clientData.size() == computeShaderMappings_.nameData.size()); in CreateClientData()
447 PLUGIN_ASSERT(shaderMappings_.clientData.size() == shaderMappings_.nameData.size()); in CreateClientData()
450 PLUGIN_ASSERT( in CreateClientData()
490 PLUGIN_ASSERT(computeShaderMappings_.clientData.size() == computeShaderMappings_.nameData.size()); in Create()
554 PLUGIN_ASSERT(shaderMappings_.clientData.size() == shaderMappings_.nameData.size()); in Create()
898 PLUGIN_ASSERT(computeShaderMappings_.clientData[arrayIndex].renderSlotId == renderSlotId); in GetShaderHandle()
902 PLUGIN_ASSERT(shaderMappings in GetShaderHandle()
[all...]
H A Ddevice.cpp572 PLUGIN_ASSERT(SwapchainData::MAX_IMAGE_VIEW_COUNT >= static_cast<uint32_t>(swapchainGpuImages.size())); in CreateSwapchainImpl()
605 PLUGIN_ASSERT(dataView.size_bytes() == sizeof(NodeGraphBackBufferConfiguration)); in CreateSwapchainImpl()
677 PLUGIN_ASSERT(dataView.size_bytes() == sizeof(NodeGraphBackBufferConfiguration)); in DestroySwapchainImpl()
790 PLUGIN_ASSERT(isRenderbackendRunning_); in GetSwapchainData()
800 PLUGIN_ASSERT(swapData.imageViewCount <= SwapchainData::MAX_IMAGE_VIEW_COUNT); in GetSwapchainData()

Completed in 17 milliseconds

123