Rename pixel interfaces to IRead[Only|Write]NormalizedTextureMD<TPixel>
このコミットが含まれているのは:
1 親
f906dbaae0
コミット
9b05770168
40ファイル変更
+117
-117
検索条件に一致するファイルはありません
@@ -22,14 +22,14 @@ internal static class HlslKnownMembers
|
||||
[$"ComputeSharp.ReadOnlyTexture2D`2.this[{typeof(int).FullName}, {typeof(int).FullName}]"] = "int2",
|
||||
[$"ComputeSharp.ReadWriteTexture2D`1.this[{typeof(int).FullName}, {typeof(int).FullName}]"] = "int2",
|
||||
[$"ComputeSharp.ReadWriteTexture2D`2.this[{typeof(int).FullName}, {typeof(int).FullName}]"] = "int2",
|
||||
[$"ComputeSharp.IReadOnlyTexture2D`1.this[{typeof(int).FullName}, {typeof(int).FullName}]"] = "int2",
|
||||
[$"ComputeSharp.IReadWriteTexture2D`1.this[{typeof(int).FullName}, {typeof(int).FullName}]"] = "int2",
|
||||
[$"ComputeSharp.IReadOnlyNormalizedTexture2D`1.this[{typeof(int).FullName}, {typeof(int).FullName}]"] = "int2",
|
||||
[$"ComputeSharp.IReadWriteNormalizedTexture2D`1.this[{typeof(int).FullName}, {typeof(int).FullName}]"] = "int2",
|
||||
[$"ComputeSharp.ReadOnlyTexture3D`1.this[{typeof(int).FullName}, {typeof(int).FullName}, {typeof(int).FullName}]"] = "int3",
|
||||
[$"ComputeSharp.ReadOnlyTexture3D`2.this[{typeof(int).FullName}, {typeof(int).FullName}, {typeof(int).FullName}]"] = "int3",
|
||||
[$"ComputeSharp.ReadWriteTexture3D`1.this[{typeof(int).FullName}, {typeof(int).FullName}, {typeof(int).FullName}]"] = "int3",
|
||||
[$"ComputeSharp.ReadWriteTexture3D`2.this[{typeof(int).FullName}, {typeof(int).FullName}, {typeof(int).FullName}]"] = "int3",
|
||||
[$"ComputeSharp.IReadOnlyTexture3D`1.this[{typeof(int).FullName}, {typeof(int).FullName}, {typeof(int).FullName}]"] = "int3",
|
||||
[$"ComputeSharp.IReadWriteTexture3D`1.this[{typeof(int).FullName}, {typeof(int).FullName}, {typeof(int).FullName}]"] = "int3"
|
||||
[$"ComputeSharp.IReadOnlyNormalizedTexture3D`1.this[{typeof(int).FullName}, {typeof(int).FullName}, {typeof(int).FullName}]"] = "int3",
|
||||
[$"ComputeSharp.IReadWriteNormalizedTexture3D`1.this[{typeof(int).FullName}, {typeof(int).FullName}, {typeof(int).FullName}]"] = "int3"
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
@@ -39,12 +39,12 @@ internal static class HlslKnownMembers
|
||||
{
|
||||
[$"ComputeSharp.ReadOnlyTexture2D`2.this[{typeof(float).FullName}, {typeof(float).FullName}]"] = "float2",
|
||||
[$"ComputeSharp.ReadOnlyTexture2D`2.this[{typeof(Float2).FullName}]"] = null,
|
||||
[$"ComputeSharp.IReadOnlyTexture2D`1.this[{typeof(float).FullName}, {typeof(float).FullName}]"] = "float2",
|
||||
[$"ComputeSharp.IReadOnlyTexture2D`1.this[{typeof(Float2).FullName}]"] = null,
|
||||
[$"ComputeSharp.IReadOnlyNormalizedTexture2D`1.this[{typeof(float).FullName}, {typeof(float).FullName}]"] = "float2",
|
||||
[$"ComputeSharp.IReadOnlyNormalizedTexture2D`1.this[{typeof(Float2).FullName}]"] = null,
|
||||
[$"ComputeSharp.ReadOnlyTexture3D`2.this[{typeof(float).FullName}, {typeof(float).FullName}, {typeof(float).FullName}]"] = "float3",
|
||||
[$"ComputeSharp.ReadOnlyTexture3D`2.this[{typeof(Float3).FullName}]"] = null,
|
||||
[$"ComputeSharp.IReadOnlyTexture3D`1.this[{typeof(float).FullName}, {typeof(float).FullName}, {typeof(float).FullName}]"] = "float3",
|
||||
[$"ComputeSharp.IReadOnlyTexture3D`1.this[{typeof(Float3).FullName}]"] = null
|
||||
[$"ComputeSharp.IReadOnlyNormalizedTexture3D`1.this[{typeof(float).FullName}, {typeof(float).FullName}, {typeof(float).FullName}]"] = "float3",
|
||||
[$"ComputeSharp.IReadOnlyNormalizedTexture3D`1.this[{typeof(Float3).FullName}]"] = null
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
@@ -58,16 +58,16 @@ internal static class HlslKnownMembers
|
||||
["ComputeSharp.Resources.Texture3D`1.Width"] = (3, 0),
|
||||
["ComputeSharp.Resources.Texture3D`1.Height"] = (3, 1),
|
||||
["ComputeSharp.Resources.Texture3D`1.Depth"] = (3, 2),
|
||||
["ComputeSharp.IReadOnlyTexture2D`1.Width"] = (2, 0),
|
||||
["ComputeSharp.IReadOnlyTexture2D`1.Height"] = (2, 1),
|
||||
["ComputeSharp.IReadOnlyTexture3D`1.Width"] = (3, 0),
|
||||
["ComputeSharp.IReadOnlyTexture3D`1.Height"] = (3, 1),
|
||||
["ComputeSharp.IReadOnlyTexture3D`1.Depth"] = (3, 2),
|
||||
["ComputeSharp.IReadWriteTexture2D`1.Width"] = (2, 0),
|
||||
["ComputeSharp.IReadWriteTexture2D`1.Height"] = (2, 1),
|
||||
["ComputeSharp.IReadWriteTexture3D`1.Width"] = (3, 0),
|
||||
["ComputeSharp.IReadWriteTexture3D`1.Height"] = (3, 1),
|
||||
["ComputeSharp.IReadWriteTexture3D`1.Depth"] = (3, 2)
|
||||
["ComputeSharp.IReadOnlyNormalizedTexture2D`1.Width"] = (2, 0),
|
||||
["ComputeSharp.IReadOnlyNormalizedTexture2D`1.Height"] = (2, 1),
|
||||
["ComputeSharp.IReadOnlyNormalizedTexture3D`1.Width"] = (3, 0),
|
||||
["ComputeSharp.IReadOnlyNormalizedTexture3D`1.Height"] = (3, 1),
|
||||
["ComputeSharp.IReadOnlyNormalizedTexture3D`1.Depth"] = (3, 2),
|
||||
["ComputeSharp.IReadWriteNormalizedTexture2D`1.Width"] = (2, 0),
|
||||
["ComputeSharp.IReadWriteNormalizedTexture2D`1.Height"] = (2, 1),
|
||||
["ComputeSharp.IReadWriteNormalizedTexture3D`1.Width"] = (3, 0),
|
||||
["ComputeSharp.IReadWriteNormalizedTexture3D`1.Height"] = (3, 1),
|
||||
["ComputeSharp.IReadWriteNormalizedTexture3D`1.Depth"] = (3, 2)
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -141,8 +141,8 @@ internal static class HlslKnownTypes
|
||||
"ComputeSharp.ReadOnlyTexture2D`2" or
|
||||
"ComputeSharp.ReadOnlyTexture3D`1" or
|
||||
"ComputeSharp.ReadOnlyTexture3D`2" or
|
||||
"ComputeSharp.IReadOnlyTexture2D`1" or
|
||||
"ComputeSharp.IReadOnlyTexture3D`1" => true,
|
||||
"ComputeSharp.IReadOnlyNormalizedTexture2D`1" or
|
||||
"ComputeSharp.IReadOnlyNormalizedTexture3D`1" => true,
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
@@ -161,8 +161,8 @@ internal static class HlslKnownTypes
|
||||
"ComputeSharp.ReadWriteTexture2D`2" or
|
||||
"ComputeSharp.ReadWriteTexture3D`1" or
|
||||
"ComputeSharp.ReadWriteTexture3D`2" or
|
||||
"ComputeSharp.IReadWriteTexture2D`1" or
|
||||
"ComputeSharp.IReadWriteTexture3D`1" => true,
|
||||
"ComputeSharp.IReadWriteNormalizedTexture2D`1" or
|
||||
"ComputeSharp.IReadWriteNormalizedTexture3D`1" => true,
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
@@ -187,10 +187,10 @@ internal static class HlslKnownTypes
|
||||
"ComputeSharp.ReadOnlyTexture3D`2" or
|
||||
"ComputeSharp.ReadWriteTexture3D`1" or
|
||||
"ComputeSharp.ReadWriteTexture3D`2" or
|
||||
"ComputeSharp.IReadOnlyTexture2D`1" or
|
||||
"ComputeSharp.IReadWriteTexture2D`1" or
|
||||
"ComputeSharp.IReadOnlyTexture3D`1" or
|
||||
"ComputeSharp.IReadWriteTexture3D`1" => true,
|
||||
"ComputeSharp.IReadOnlyNormalizedTexture2D`1" or
|
||||
"ComputeSharp.IReadWriteNormalizedTexture2D`1" or
|
||||
"ComputeSharp.IReadOnlyNormalizedTexture3D`1" or
|
||||
"ComputeSharp.IReadWriteNormalizedTexture3D`1" => true,
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
@@ -294,10 +294,10 @@ internal static class HlslKnownTypes
|
||||
"ComputeSharp.ReadOnlyTexture3D`2" => $"Texture3D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.ReadWriteTexture3D`1" => $"RWTexture3D<{mappedElementType}>",
|
||||
"ComputeSharp.ReadWriteTexture3D`2" => $"RWTexture3D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.IReadOnlyTexture2D`1" => $"Texture2D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.IReadWriteTexture2D`1" => $"RWTexture2D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.IReadOnlyTexture3D`1" => $"Texture3D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.IReadWriteTexture3D`1" => $"RWTexture3D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.IReadOnlyNormalizedTexture2D`1" => $"Texture2D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.IReadWriteNormalizedTexture2D`1" => $"RWTexture2D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.IReadOnlyNormalizedTexture3D`1" => $"Texture3D<unorm {mappedElementType}>",
|
||||
"ComputeSharp.IReadWriteNormalizedTexture3D`1" => $"RWTexture3D<unorm {mappedElementType}>",
|
||||
_ => throw new ArgumentException()
|
||||
};
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする