Remove ThreadGroupSizeAttribute from generator
このコミットが含まれているのは:
1 親
be0f0cf593
コミット
2d1e7f9565
3ファイル変更
+1
-4
検索条件に一致するファイルはありません
@@ -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);
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする