summaryrefslogtreecommitdiffstats
path: root/tools/gfx/simple-render-pass-layout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/simple-render-pass-layout.cpp')
-rw-r--r--tools/gfx/simple-render-pass-layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/simple-render-pass-layout.cpp b/tools/gfx/simple-render-pass-layout.cpp
index 8821df87c..1c937e708 100644
--- a/tools/gfx/simple-render-pass-layout.cpp
+++ b/tools/gfx/simple-render-pass-layout.cpp
@@ -15,7 +15,7 @@ IRenderPassLayout* SimpleRenderPassLayout::getInterface(const Slang::Guid& guid)
void SimpleRenderPassLayout::init(const IRenderPassLayout::Desc& desc)
{
m_renderTargetAccesses.setCount(desc.renderTargetCount);
- for (uint32_t i = 0; i < desc.renderTargetCount; i++)
+ for (GfxIndex i = 0; i < desc.renderTargetCount; i++)
m_renderTargetAccesses[i] = desc.renderTargetAccess[i];
m_hasDepthStencil = (desc.depthStencilAccess != nullptr);
if (m_hasDepthStencil)