Restructure resources info logic, drop unnecessary TypeName field
このコミットが含まれているのは:
1 親
1760c8d3ff
コミット
5811ba60cf
4ファイル変更
+42
-76
検索条件に一致するファイルはありません
@@ -69,16 +69,6 @@ public sealed partial class ComputeShaderDescriptorGenerator : IIncrementalGener
|
||||
|
||||
token.ThrowIfCancellationRequested();
|
||||
|
||||
// Get the resources info
|
||||
Resources.GetInfo(
|
||||
diagnostics,
|
||||
context.SemanticModel.Compilation,
|
||||
typeSymbol,
|
||||
constantBufferSizeInBytes,
|
||||
out ImmutableArray<ResourceInfo> resourceInfo);
|
||||
|
||||
token.ThrowIfCancellationRequested();
|
||||
|
||||
// Thread group size info
|
||||
NumThreads.GetInfo(
|
||||
diagnostics,
|
||||
@@ -105,10 +95,15 @@ public sealed partial class ComputeShaderDescriptorGenerator : IIncrementalGener
|
||||
|
||||
token.ThrowIfCancellationRequested();
|
||||
|
||||
// Resource descriptor ranges info
|
||||
ImmutableArray<ResourceDescriptor> resourceDescriptors = ResourceDescriptorRanges.GetInfo(
|
||||
// Get the resources info
|
||||
Resources.GetInfo(
|
||||
diagnostics,
|
||||
context.SemanticModel.Compilation,
|
||||
typeSymbol,
|
||||
isImplicitTextureUsed,
|
||||
resourceInfo);
|
||||
constantBufferSizeInBytes,
|
||||
out ImmutableArray<ResourceInfo> resourceInfo,
|
||||
out ImmutableArray<ResourceDescriptor> resourceDescriptors);
|
||||
|
||||
token.ThrowIfCancellationRequested();
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする