Fix generated code for shaders with bool fields

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-20 21:11:45 +01:00
1 親 940cdfdcdc
コミット e3222c8d62
1ファイル変更
-1
@@ -258,7 +258,6 @@ partial class ConstantBufferSyntaxProcessor
string typeName = pathPart switch
{
FieldPathPart.Nested nested => nested.TypeName,
FieldPathPart.Leaf when fieldInfo.TypeName is "System.Boolean" => "global::ComputeSharp.Bool",
_ => HlslKnownTypes.GetMappedName(fieldInfo.TypeName)
};