1616
1717namespace vk_state
1818{
19- static constexpr uint32_t kMaxDescriptorSets =
20- 32 ; // Increased from 8 to support more pipelines (Vulkan spec minimum is 4, typical is 32)
19+ static constexpr uint32_t kMaxDescriptorSets = 32 ;
2120static constexpr uint32_t kMaxViewports = 16 ;
2221static constexpr uint32_t kMaxScissors = 16 ;
2322static constexpr uint32_t kMaxVertexBuffers = 32 ; // Standard limit is often 32
@@ -234,7 +233,7 @@ class CommandBufferStateTracker
234233 if (_poolEpochs.find (pool) == _poolEpochs.end ())
235234 {
236235 _poolEpochs[pool] = _globalEpochCounter;
237- LOG_DEBUG (" Pool {:X} initialized with epoch {}" , (size_t ) pool, _globalEpochCounter);
236+ // LOG_DEBUG("Pool {:X} initialized with epoch {}", (size_t) pool, _globalEpochCounter);
238237 }
239238
240239 // Map each command buffer to its pool
@@ -243,8 +242,8 @@ class CommandBufferStateTracker
243242 _cmdBufferToPool[pCommandBuffers[i]] = pool;
244243 }
245244
246- LOG_DEBUG (" Allocated {} command buffers from pool {:X} (current pool epoch: {})" , count, (size_t ) pool,
247- _poolEpochs[pool]);
245+ // LOG_DEBUG("Allocated {} command buffers from pool {:X} (current pool epoch: {})", count, (size_t) pool,
246+ // _poolEpochs[pool]);
248247 }
249248
250249 void OnBegin (VkCommandBuffer cmd, const VkCommandBufferBeginInfo* pBeginInfo)
@@ -322,9 +321,9 @@ class CommandBufferStateTracker
322321 _globalEpochCounter++;
323322 _poolEpochs[pool] = _globalEpochCounter;
324323
325- LOG_DEBUG (" Pool {:X} reset - pool epoch set to {} - command buffers from THIS POOL invalidated until next "
326- " vkBeginCommandBuffer" ,
327- (size_t ) pool, _globalEpochCounter);
324+ // LOG_DEBUG("Pool {:X} reset - pool epoch set to {} - command buffers from THIS POOL invalidated until next "
325+ // "vkBeginCommandBuffer",
326+ // (size_t) pool, _globalEpochCounter);
328327 }
329328
330329 void OnBindPipeline (VkCommandBuffer cmd, VkPipelineBindPoint bindPoint, VkPipeline pipeline)
0 commit comments