From f493d24c70a6227754296439e97adf35ec412496 Mon Sep 17 00:00:00 2001 From: lucy96chen <47800040+lucy96chen@users.noreply.github.com> Date: Thu, 21 Apr 2022 12:59:09 -0700 Subject: 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 --- tools/gfx-unit-test/shared-textures-tests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/gfx-unit-test/shared-textures-tests.cpp') 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 createTexture(IDevice* device, ITextureResource::Size extents, gfx::Format format, ITextureResource::SubresourceData* initialData) + ComPtr 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(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; -- cgit v1.2.3