Skip to content

Commit 869683a

Browse files
committed
Don't update revision, aligning to D3D11 inline constant behavior.
1 parent 1844c67 commit 869683a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Graphics/GraphicsEngineVulkan/src/ShaderResourceCacheVk.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,8 +969,6 @@ void ShaderResourceCacheVk::SetInlineConstants(Uint32 DescrSetIndex,
969969
// Copy to CPU-side staging buffer
970970
Uint32* pDstConstants = reinterpret_cast<Uint32*>(DstRes.pInlineConstantData);
971971
memcpy(pDstConstants + FirstConstant, pConstants, NumConstants * sizeof(Uint32));
972-
973-
UpdateRevision();
974972
}
975973

976974
const void* ShaderResourceCacheVk::GetInlineConstantData(Uint32 DescrSetIndex, Uint32 BindingIndex) const

0 commit comments

Comments
 (0)