-------------------------------------------------------------------------
| 2070 | } |
| 2071 | //------------------------------------------------------------------------- |
| 2072 | void VulkanRenderSystem::flushRootLayout() |
| 2073 | { |
| 2074 | if( !mTableDirty ) |
| 2075 | return; |
| 2076 | |
| 2077 | VulkanVaoManager *vaoManager = static_cast<VulkanVaoManager *>( mVaoManager ); |
| 2078 | VulkanRootLayout *rootLayout = reinterpret_cast<VulkanHlmsPso *>( mPso->rsData )->rootLayout; |
| 2079 | rootLayout->bind( mDevice, vaoManager, mGlobalTable ); |
| 2080 | mGlobalTable.reset(); |
| 2081 | mTableDirty = false; |
| 2082 | } |
| 2083 | //------------------------------------------------------------------------- |
| 2084 | void VulkanRenderSystem::flushRootLayoutCS() |
| 2085 | { |