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/format-unit-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/format-unit-tests.cpp')
| -rw-r--r-- | tools/gfx-unit-test/format-unit-tests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<IResourceView> 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<uint32_t>(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; |
