diff --git a/src/ComputeSharp.Shaders/Mappings/HlslKnownMethods.cs b/src/ComputeSharp.Shaders/Mappings/HlslKnownMethods.cs
index cbf5d3cc..f2075bf2 100644
--- a/src/ComputeSharp.Shaders/Mappings/HlslKnownMethods.cs
+++ b/src/ComputeSharp.Shaders/Mappings/HlslKnownMethods.cs
@@ -246,7 +246,7 @@ namespace ComputeSharp.Shaders.Mappings
// Programmatically load mappings for the vector types
foreach (var item in
- from type in HlslKnownTypes.KnownVectorTypes
+ from type in HlslKnownTypes.HlslMappedVectorTypes
from property in type.GetProperties(BindingFlags.Public | BindingFlags.Instance)
select (Type: type, Property: property))
{
diff --git a/src/ComputeSharp.Shaders/Mappings/HlslKnownTypes.cs b/src/ComputeSharp.Shaders/Mappings/HlslKnownTypes.cs
index 739f77c3..1d1f7a19 100644
--- a/src/ComputeSharp.Shaders/Mappings/HlslKnownTypes.cs
+++ b/src/ComputeSharp.Shaders/Mappings/HlslKnownTypes.cs
@@ -18,6 +18,8 @@ namespace ComputeSharp.Shaders.Mappings
{
[typeof(bool).FullName] = "bool",
[typeof(Bool2).FullName] = "bool2",
+ [typeof(Bool3).FullName] = "bool3",
+ [typeof(Bool4).FullName] = "bool4",
[typeof(int).FullName] = "int",
[typeof(Int2).FullName] = "int2",
[typeof(Int3).FullName] = "int3",
@@ -45,9 +47,9 @@ namespace ComputeSharp.Shaders.Mappings
///
/// Gets the known HLSL vector types available as mapped types
///
- public static IReadOnlyList KnownVectorTypes { get; } = new[]
+ public static IReadOnlyList HlslMappedVectorTypes { get; } = new[]
{
- typeof(Bool2),
+ typeof(Bool2), typeof(Bool3), typeof(Bool4),
typeof(Int2), typeof(Int3), typeof(Int4),
typeof(UInt2), typeof(UInt3), typeof(UInt4),
typeof(Float2), typeof(Float3), typeof(Float4),
@@ -73,6 +75,8 @@ namespace ComputeSharp.Shaders.Mappings
/// A indicating whether the input is in fact a known HLSL vector type
[Pure]
public static bool IsKnownVectorType(Type type) => type == typeof(Bool2) ||
+ type == typeof(Bool3) ||
+ type == typeof(Bool4) ||
type == typeof(Int2) ||
type == typeof(Int3) ||
type == typeof(Int4) ||