diff options
| author | lucy96chen <47800040+lucy96chen@users.noreply.github.com> | 2022-04-21 12:59:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-21 12:59:09 -0700 |
| commit | f493d24c70a6227754296439e97adf35ec412496 (patch) | |
| tree | 25fffb03c067477bef68ccdc66865683159e3ab5 /tools/gfx-unit-test/shared-textures-tests.cpp | |
| parent | 1b6cea2219307f6271e131c43d6e8f48910bd435 (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/shared-textures-tests.cpp')
| -rw-r--r-- | tools/gfx-unit-test/shared-textures-tests.cpp | 6 |
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; |
