Support [GloballyCoherent] in generator
このコミットが含まれているのは:
1 親
7ba3b2578b
コミット
c661ef7e80
3ファイル変更
+25
-6
検索条件に一致するファイルはありません
@@ -29,6 +29,16 @@ partial class HlslKnownTypes
|
||||
return typeName == "ComputeSharp.ConstantBuffer`1";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether or not a given type name matches a read write buffer type.
|
||||
/// </summary>
|
||||
/// <param name="typeName">The input type name to check.</param>
|
||||
/// <returns>Whether or not <paramref name="typeName"/> represents a read write buffer type.</returns>
|
||||
public static bool IsReadWriteBufferType(string typeName)
|
||||
{
|
||||
return typeName == "ComputeSharp.ReadWriteBuffer`1";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether or not a given type name matches a structured buffer type.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする