Skip to content

Commit

Permalink
Fix build - missed a enableMultiView
Browse files Browse the repository at this point in the history
  • Loading branch information
xazhangAMD committed Oct 23, 2023
1 parent 686608c commit 2b3583e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lgc/patch/PatchInOutImportExport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2b3583e

Please sign in to comment.