Skip to content

Commit 1f18ab5

Browse files
committed
Fix formatting
1 parent 1a25e22 commit 1f18ab5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Graphics/GraphicsEngineVulkan/include/PipelineResourceSignatureVkImpl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
};

Graphics/GraphicsEngineVulkan/src/PipelineResourceSignatureVkImpl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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];

0 commit comments

Comments
 (0)