Remove ThreadGroupSizeAttribute from generator

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-21 18:03:20 +01:00
1 親 be0f0cf593
コミット 2d1e7f9565
3ファイル変更
+1 -4

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

+1 -1
ファイルの表示
@@ -33,7 +33,7 @@ partial class ComputeShaderDescriptorGenerator
out bool isCompilationEnabled)
{
// Try to get the attribute that controls shader precompilation (this is always required)
if (!structDeclarationSymbol.TryGetAttributeWithFullyQualifiedMetadataName(typeof(ThreadGroupSizeAttribute).FullName, out AttributeData? attribute))
if (!structDeclarationSymbol.TryGetAttributeWithFullyQualifiedMetadataName("ComputeSharp.ThreadGroupSizeAttribute", out AttributeData? attribute))
{
diagnostics.Add(MissingThreadGroupSizeAttribute, structDeclarationSymbol, structDeclarationSymbol);