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/render-test/render-test-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/render-test/render-test-main.cpp') diff --git a/tools/render-test/render-test-main.cpp b/tools/render-test/render-test-main.cpp index aa0a60829..1e3caf781 100644 --- a/tools/render-test/render-test-main.cpp +++ b/tools/render-test/render-test-main.cpp @@ -293,7 +293,7 @@ struct AssignValsFromLayoutContext if(field.name.getLength() == 0) { // If no name was given, assume by-indexing matching is requested - auto fieldCursor = dstCursor.getElement(fieldIndex); + auto fieldCursor = dstCursor.getElement((GfxIndex)fieldIndex); if(!fieldCursor.isValid()) { StdWriters::getError().print("error: could not find shader parameter at index %d\n", (int)fieldIndex); -- cgit v1.2.3