Skip to content

Commit 0068337

Browse files
committed
change bool
1 parent 89363f7 commit 0068337

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/clang/tools/dxcompiler/dxcutil.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ bool CreateValidator(CComPtr<IDxcValidator> &pValidator,
5858
bool bExternal =
5959
SelectValidator == hlsl::options::ValidatorSelection::External;
6060

61-
if (!bExternal)
61+
if (!bExternal) {
6262
IFT(CreateDxcValidator(IID_PPV_ARGS(&pValidator)));
63+
bInternalValidator = true;
64+
}
6365

6466
if (pValidator == nullptr && DxilLibIsEnabled()) {
6567
IFTBOOL(!bInternal, DXC_E_VALIDATOR_MISSING);

0 commit comments

Comments
 (0)