Removed unnecessary shader method attributes

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-11 14:24:09 +02:00
1 親 0957d6eaa3
コミット 5899b4769b
2ファイル変更
+3 -28

検索条件に一致するファイルはありません

+3 -4
ファイルの表示
@@ -200,7 +200,7 @@ namespace DirectX12GameEngine.Shaders
if (memberInfo is MethodInfo methodInfo)
{
if (type.IsInterface || resourceType is ShaderMethodAttribute)
if (type.IsInterface)
{
CollectMethod(methodInfo);
}
@@ -269,7 +269,7 @@ namespace DirectX12GameEngine.Shaders
if (memberInfo is MethodInfo methodInfo)
{
if (type.IsInterface || resourceType is ShaderMethodAttribute)
if (type.IsInterface)
{
WriteMethod(methodInfo);
}
@@ -576,8 +576,7 @@ namespace DirectX12GameEngine.Shaders
{
private static readonly HashSet<string> allowedAttributes = new HashSet<string>()
{
typeof(NumThreadsAttribute).FullName,
typeof(ShaderAttribute).FullName
typeof(NumThreadsAttribute).FullName
};
public static bool Contains(string name)