We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c61d4ef commit 10dbe81Copy full SHA for 10dbe81
1 file changed
Graphics/GraphicsEngineOpenGL/include/ShaderResourceCacheGL.hpp
@@ -399,7 +399,10 @@ class ShaderResourceCacheGL : public ShaderResourceCacheBase
399
VERIFY(CacheOffset < GetUBCount(), "Cache offset is out of range");
400
CachedUB& UB = GetUB(CacheOffset);
401
UB.SetInlineConstants(pConstants, FirstConstant, NumConstants);
402
- UpdateRevision();
+ // NOTE: Do NOT call UpdateRevision() here.
403
+ // Inline constants are allowed to change after SRB commit without re-committing.
404
+ // The InlineConstantsSRBMask and InlineConstantsIntact flag handle the update logic.
405
+ // This is consistent with D3D11 and Vulkan implementations.
406
}
407
408
void CopyInlineConstants(const ShaderResourceCacheGL& SrcCache,
0 commit comments