summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/copy-texture-tests.cpp
diff options
context:
space:
mode:
authorlucy96chen <47800040+lucy96chen@users.noreply.github.com>2022-04-14 10:00:35 -0700
committerGitHub <noreply@github.com>2022-04-14 10:00:35 -0700
commitac81614974700806e8257b8483a0ba97b925971a (patch)
tree129a0aa5120bbc523389e667d2ae5ab65ae5f693 /tools/gfx-unit-test/copy-texture-tests.cpp
parent5ffd3048df2d7faf30ca8192c117d73e908212cd (diff)
GFX renaming work part 1 (#2183)
* Added new typedefs for Size, Offset, Count, and Index; Replaced numerous instances of size_t in slang-gfx.h, render-d3d12, render-vk, and renderer-shared with either Size or Offset; Fixed compiler warnings for mismatched numerical types * Renamed Index and Count to GfxIndex and GfxCount, changed to 32 bit from 64 bit
Diffstat (limited to 'tools/gfx-unit-test/copy-texture-tests.cpp')
-rw-r--r--tools/gfx-unit-test/copy-texture-tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx-unit-test/copy-texture-tests.cpp b/tools/gfx-unit-test/copy-texture-tests.cpp
index f332198b4..3461a8cdf 100644
--- a/tools/gfx-unit-test/copy-texture-tests.cpp
+++ b/tools/gfx-unit-test/copy-texture-tests.cpp
@@ -185,7 +185,7 @@ namespace gfx_test
queue->waitOnHost();
}
- bool isWithinCopyBounds(int x, int y, int z)
+ bool isWithinCopyBounds(Int x, Int y, Int z)
{
auto copyExtents = texCopyInfo.extent;
auto copyOffset = texCopyInfo.dstOffset;