diff options
| author | lucy96chen <47800040+lucy96chen@users.noreply.github.com> | 2022-04-21 12:59:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-21 12:59:09 -0700 |
| commit | f493d24c70a6227754296439e97adf35ec412496 (patch) | |
| tree | 25fffb03c067477bef68ccdc66865683159e3ab5 /tools/gfx/simple-render-pass-layout.cpp | |
| parent | 1b6cea2219307f6271e131c43d6e8f48910bd435 (diff) | |
GFX renaming work part 2: slang-gfx.h renames (#2194)
* Fixed all build errors and type conversion warnings from renames in slang-gfx.h
* Made necessary build fixes to the CUDA implementation
* Renamed ITextureResource::Size to ITextureResource::Extents
* More rename changes based on CI errors
* More renames to fix CI build errors
* Rerun tests
Diffstat (limited to 'tools/gfx/simple-render-pass-layout.cpp')
| -rw-r--r-- | tools/gfx/simple-render-pass-layout.cpp | 2 |
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) |
