Skip to content

Commit 7845eeb

Browse files
committed
wrong check
1 parent acfa5c0 commit 7845eeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/clang/tools/dxcompiler/dxcutil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ bool CreateValidator(CComPtr<IDxcValidator> &pValidator,
6969
if (bExternal) {
7070
// if external was explicitly specified, but no
7171
// external validator could be found (no DXIL.dll), then error
72-
IFTBOOL(!DxilLibIsEnabled(), DXC_E_VALIDATOR_MISSING);
72+
IFTBOOL(DxilLibIsEnabled(), DXC_E_VALIDATOR_MISSING);
7373
IFT(DxilLibCreateInstance(CLSID_DxcValidator, &pValidator));
7474

7575
return false;

0 commit comments

Comments
 (0)