File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Graphics/GraphicsEngineVulkan Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ class PipelineResourceSignatureVkImpl final : public PipelineResourceSignatureBa
236236 std::unique_ptr<InlineConstantBufferAttribsVk[]> m_InlineConstantBuffers;
237237
238238 // Note: Static inline constant data (including push constants) is stored in m_pStaticResCache.
239- // For push constants, we use InitializePushConstantDataPtrs() and SetPushConstantDataPtr()
239+ // For push constants, we use InitializePushConstantDataPtrs() and SetPushConstantDataPtr()
240240 // in the static resource cache, similar to how SRB caches store push constant data.
241241 // This ensures each SRB gets its own copy when CopyStaticResources() is called.
242242};
Original file line number Diff line number Diff line change @@ -850,9 +850,9 @@ void PipelineResourceSignatureVkImpl::CopyStaticResources(ShaderResourceCacheVk&
850850{
851851 // Handle STATIC push constants first - copy data from Signature's static cache to SRB's cache
852852 // Each SRB has its own copy of push constant data
853- const auto ResIdxRange = GetResourceIndexRange (SHADER_RESOURCE_VARIABLE_TYPE_STATIC);
854- Uint32 DstPushConstantBufferIdx = 0 ;
855- Uint32 SrcPushConstantBufferIdx = 0 ;
853+ const auto ResIdxRange = GetResourceIndexRange (SHADER_RESOURCE_VARIABLE_TYPE_STATIC);
854+ Uint32 DstPushConstantBufferIdx = 0 ;
855+ Uint32 SrcPushConstantBufferIdx = 0 ;
856856 for (Uint32 i = 0 ; i < m_NumInlineConstantBuffers; ++i)
857857 {
858858 const InlineConstantBufferAttribsVk& InlineCBAttr = m_InlineConstantBuffers[i];
You can’t perform that action at this time.
0 commit comments