mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 13:48:30 +09:00
[Perf] (DirectVulkan): bake the attribute location mask and memoize the explicit-LOD eligibility probe
This commit is contained in:
@@ -7809,6 +7809,9 @@ void main() {
|
|||||||
void VulkanRenderer::OnFrameCommandRecordingBegan(VkCommandBuffer commandBuffer) {
|
void VulkanRenderer::OnFrameCommandRecordingBegan(VkCommandBuffer commandBuffer) {
|
||||||
// Dynamic state does not survive a command-buffer boundary.
|
// Dynamic state does not survive a command-buffer boundary.
|
||||||
ResetDynamicStateShadow();
|
ResetDynamicStateShadow();
|
||||||
|
if (m_uniformManager) {
|
||||||
|
m_uniformManager->OnCommandBufferBoundary();
|
||||||
|
}
|
||||||
// Pre-pass stream bookkeeping: a fresh frame recording references no
|
// Pre-pass stream bookkeeping: a fresh frame recording references no
|
||||||
// textures yet.
|
// textures yet.
|
||||||
if (m_textureManager) {
|
if (m_textureManager) {
|
||||||
|
|||||||
Reference in New Issue
Block a user