summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/resolve-resource-tests.cpp
diff options
context:
space:
mode:
authorlucy96chen <47800040+lucy96chen@users.noreply.github.com>2022-04-21 12:59:09 -0700
committerGitHub <noreply@github.com>2022-04-21 12:59:09 -0700
commitf493d24c70a6227754296439e97adf35ec412496 (patch)
tree25fffb03c067477bef68ccdc66865683159e3ab5 /tools/gfx-unit-test/resolve-resource-tests.cpp
parent1b6cea2219307f6271e131c43d6e8f48910bd435 (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-unit-test/resolve-resource-tests.cpp')
-rw-r--r--tools/gfx-unit-test/resolve-resource-tests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gfx-unit-test/resolve-resource-tests.cpp b/tools/gfx-unit-test/resolve-resource-tests.cpp
index 2876be880..cc5dffd00 100644
--- a/tools/gfx-unit-test/resolve-resource-tests.cpp
+++ b/tools/gfx-unit-test/resolve-resource-tests.cpp
@@ -101,7 +101,7 @@ namespace
struct TextureInfo
{
- ITextureResource::Size extent;
+ ITextureResource::Extents extent;
int numMipLevels;
int arraySize;
ITextureResource::SubresourceData const* initData;
@@ -222,7 +222,7 @@ namespace
GFX_CHECK_CALL_ABORT(device->createFramebuffer(framebufferDesc, framebuffer.writeRef()));
}
- void submitGPUWork(SubresourceRange msaaSubresource, SubresourceRange dstSubresource, ITextureResource::Size extent)
+ void submitGPUWork(SubresourceRange msaaSubresource, SubresourceRange dstSubresource, ITextureResource::Extents extent)
{
Slang::ComPtr<ITransientResourceHeap> transientHeap;
ITransientResourceHeap::Desc transientHeapDesc = {};
@@ -296,7 +296,7 @@ namespace
{
void run()
{
- ITextureResource::Size extent = {};
+ ITextureResource::Extents extent = {};
extent.width = kWidth;
extent.height = kHeight;
extent.depth = 1;