MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / flushRootLayoutCS

Method flushRootLayoutCS

RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp:2084–2095  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

2082 }
2083 //-------------------------------------------------------------------------
2084 void VulkanRenderSystem::flushRootLayoutCS()
2085 {
2086 if( !mComputeTableDirty )
2087 return;
2088
2089 VulkanVaoManager *vaoManager = static_cast<VulkanVaoManager *>( mVaoManager );
2090 VulkanRootLayout *rootLayout =
2091 reinterpret_cast<VulkanHlmsPso *>( mComputePso->rsData )->rootLayout;
2092 rootLayout->bind( mDevice, vaoManager, mComputeTable );
2093 mComputeTable.reset();
2094 mComputeTableDirty = false;
2095 }
2096 //-------------------------------------------------------------------------
2097 void VulkanRenderSystem::_render( const CbDrawCallIndexed *cmd )
2098 {

Callers

nothing calls this directly

Calls 2

bindMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected