summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/shared-textures-tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/shared-textures-tests.cpp')
-rw-r--r--tools/gfx-unit-test/shared-textures-tests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gfx-unit-test/shared-textures-tests.cpp b/tools/gfx-unit-test/shared-textures-tests.cpp
index 831296c72..4afa23546 100644
--- a/tools/gfx-unit-test/shared-textures-tests.cpp
+++ b/tools/gfx-unit-test/shared-textures-tests.cpp
@@ -67,7 +67,7 @@ namespace gfx_test
}
}
- ComPtr<ITextureResource> createTexture(IDevice* device, ITextureResource::Size extents, gfx::Format format, ITextureResource::SubresourceData* initialData)
+ ComPtr<ITextureResource> createTexture(IDevice* device, ITextureResource::Extents extents, gfx::Format format, ITextureResource::SubresourceData* initialData)
{
ITextureResource::Desc texDesc = {};
texDesc.type = IResource::Type::Texture2D;
@@ -152,12 +152,12 @@ namespace gfx_test
auto intResults = createBuffer<uint32_t>(dstDevice, 16, initIntData);
auto intBufferView = createOutBufferView(dstDevice, intResults);
- ITextureResource::Size size = {};
+ ITextureResource::Extents size = {};
size.width = 2;
size.height = 2;
size.depth = 1;
- ITextureResource::Size bcSize = {};
+ ITextureResource::Extents bcSize = {};
bcSize.width = 4;
bcSize.height = 4;
bcSize.depth = 1;