From 2b3583e938a2f1e7008e0cae647b32dd8d9f984e Mon Sep 17 00:00:00 2001 From: xazhang Date: Mon, 23 Oct 2023 15:22:13 -0400 Subject: [PATCH] Fix build - missed a enableMultiView --- lgc/patch/PatchInOutImportExport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgc/patch/PatchInOutImportExport.cpp b/lgc/patch/PatchInOutImportExport.cpp index dfe9399b06..f31b4138f6 100644 --- a/lgc/patch/PatchInOutImportExport.cpp +++ b/lgc/patch/PatchInOutImportExport.cpp @@ -2588,7 +2588,7 @@ Value *PatchInOutImportExport::patchFsBuiltInInputImport(Type *inputTy, unsigned break; } case BuiltInViewIndex: { - if (m_pipelineState->getInputAssemblyState().enableMultiView) + if (m_pipelineState->getInputAssemblyState().multiView != MultiViewModeDisable) input = getFunctionArgument(m_entryPoint, entryArgIdxs.viewIndex); else input = builder.getInt32(0);