Skip to content

Commit 296ae6b

Browse files
committed
fix formatting
1 parent 4e2f0bd commit 296ae6b

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Graphics/GraphicsEngineOpenGL/include/ShaderResourceCacheGL.hpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -364,15 +364,15 @@ class ShaderResourceCacheGL : public ShaderResourceCacheBase
364364
return m_HasInlineConstants;
365365
}
366366

367-
void InitInlineConstantBuffer(Uint32 CacheOffset,
368-
RefCntAutoPtr<BufferGLImpl>&& pBuffer,
369-
Uint32 NumConstants,
370-
void* pInlineConstantData)
367+
void InitInlineConstantBuffer(Uint32 CacheOffset,
368+
RefCntAutoPtr<BufferGLImpl>&& pBuffer,
369+
Uint32 NumConstants,
370+
void* pInlineConstantData)
371371
{
372372
VERIFY_EXPR(pBuffer);
373373
VERIFY_EXPR(pInlineConstantData);
374374

375-
CachedUB& UB = GetUB(CacheOffset);
375+
CachedUB& UB = GetUB(CacheOffset);
376376
UB.pBuffer = std::move(pBuffer);
377377
UB.BaseOffset = 0;
378378
UB.RangeSize = NumConstants * sizeof(Uint32);
@@ -382,10 +382,10 @@ class ShaderResourceCacheGL : public ShaderResourceCacheBase
382382
UpdateRevision();
383383
}
384384

385-
void SetInlineConstants(Uint32 CacheOffset,
386-
const void* pConstants,
387-
Uint32 FirstConstant,
388-
Uint32 NumConstants)
385+
void SetInlineConstants(Uint32 CacheOffset,
386+
const void* pConstants,
387+
Uint32 FirstConstant,
388+
Uint32 NumConstants)
389389
{
390390
VERIFY(CacheOffset < GetUBCount(), "Cache offset is out of range");
391391
CachedUB& UB = GetUB(CacheOffset);
@@ -394,8 +394,8 @@ class ShaderResourceCacheGL : public ShaderResourceCacheBase
394394
}
395395

396396
void CopyInlineConstants(const ShaderResourceCacheGL& SrcCache,
397-
Uint32 CacheOffset,
398-
Uint32 NumConstants)
397+
Uint32 CacheOffset,
398+
Uint32 NumConstants)
399399
{
400400
VERIFY(CacheOffset < GetUBCount(), "Destination index is out of range");
401401
VERIFY(CacheOffset < SrcCache.GetUBCount(), "Source index is out of range");

0 commit comments

Comments
 (0)