Rename D3D12 generator type
このコミットが含まれているのは:
1 親
f5b38e1af8
コミット
0f9b975336
11ファイル変更
+69
-69
検索条件に一致するファイルはありません
+1
-1
@@ -5,7 +5,7 @@ using ComputeSharp.SourceGenerators.Models;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
partial class BuildHlslSource
|
||||
+1
-1
@@ -17,7 +17,7 @@ using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// A helper with all logic to generate the <c>BuildHlslSource</c> method.
|
||||
+1
-1
@@ -6,7 +6,7 @@ using ComputeSharp.SourceGenerators.Models;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
partial class LoadBytecode
|
||||
+1
-1
@@ -22,7 +22,7 @@ using static ComputeSharp.SourceGeneration.Diagnostics.DiagnosticDescriptors;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// A helper with all logic to generate the <c>LoadBytecode</c> method.
|
||||
+1
-1
@@ -5,7 +5,7 @@ using ComputeSharp.SourceGenerators.Models;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
partial class LoadDispatchData
|
||||
+1
-1
@@ -15,7 +15,7 @@ using static ComputeSharp.SourceGeneration.Diagnostics.DiagnosticDescriptors;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// A helper with all logic to generate the <c>LoadDispatchData</c> method.
|
||||
+1
-1
@@ -5,7 +5,7 @@ using ComputeSharp.SourceGenerators.Models;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
partial class LoadDispatchMetadata
|
||||
+1
-1
@@ -6,7 +6,7 @@ using ComputeSharp.SourceGenerators.Models;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// A helper with all logic to generate the <c>LoadDispatchMetadata</c> method.
|
||||
+1
-1
@@ -3,7 +3,7 @@ using Microsoft.CodeAnalysis;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <inheritdoc/>
|
||||
partial class IShaderGenerator
|
||||
partial class ComputeShaderDescriptorGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets whether a given type is a compute shader type (ie. implements any of the interfaces).
|
||||
+3
-3
@@ -11,15 +11,15 @@ using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
namespace ComputeSharp.SourceGenerators;
|
||||
|
||||
/// <summary>
|
||||
/// A source generator creating data loaders for <see cref="IComputeShader"/> and <see cref="IComputeShader{TPixel}"/> types.
|
||||
/// A source generator creating descriptors for <see cref="IComputeShader"/> and <see cref="IComputeShader{TPixel}"/> types.
|
||||
/// </summary>
|
||||
[Generator(LanguageNames.CSharp)]
|
||||
public sealed partial class IShaderGenerator : IIncrementalGenerator
|
||||
public sealed partial class ComputeShaderDescriptorGenerator : IIncrementalGenerator
|
||||
{
|
||||
/// <summary>
|
||||
/// The name of generator to include in the generated code.
|
||||
/// </summary>
|
||||
private const string GeneratorName = "ComputeSharp.IShaderGenerator";
|
||||
private const string GeneratorName = "ComputeSharp.ComputeShaderDescriptorGenerator";
|
||||
|
||||
/// <inheritdoc/>
|
||||
public void Initialize(IncrementalGeneratorInitializationContext context)
|
||||
新しいイシューから参照
ユーザーをブロックする