Always enable the generation of OpDebugBasicType for bool type

This commit is contained in:
Chao Chen 2023-10-25 11:50:44 -07:00 committed by arcady-lunarg
parent 0fedf7d95a
commit 9a35abff55
14 changed files with 5792 additions and 5865 deletions

View file

@ -4407,7 +4407,7 @@ spv::Id TGlslangToSpvTraverser::convertGlslangToSpvType(const glslang::TType& ty
if (explicitLayout != glslang::ElpNone)
spvType = builder.makeUintType(32);
else
spvType = builder.makeBoolType(false);
spvType = builder.makeBoolType();
break;
case glslang::EbtInt:
spvType = builder.makeIntType(32);