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/format-unit-tests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/gfx-unit-test/format-unit-tests.cpp') diff --git a/tools/gfx-unit-test/format-unit-tests.cpp b/tools/gfx-unit-test/format-unit-tests.cpp index 8d3d07221..5755e03cd 100644 --- a/tools/gfx-unit-test/format-unit-tests.cpp +++ b/tools/gfx-unit-test/format-unit-tests.cpp @@ -97,7 +97,7 @@ namespace gfx_test ComPtr createTexView( IDevice* device, - ITextureResource::Size size, + ITextureResource::Extents size, gfx::Format format, ITextureResource::SubresourceData* data, int mips = 1) @@ -175,12 +175,12 @@ namespace gfx_test auto intResults = createBuffer(device, 16, initIntData); auto intBufferView = createBufferView(device, 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; @@ -939,7 +939,7 @@ namespace gfx_test ITextureResource::SubresourceData {(void*)texData, 16, 32}, ITextureResource::SubresourceData {(void*)(texData + 32), 8, 0} }; - ITextureResource::Size size = {}; + ITextureResource::Extents size = {}; size.width = 8; size.height = 8; size.depth = 1; -- cgit v1.2.3