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);