Adopt HlslBytecodeSyntaxProcessor in both generators

このコミットが含まれているのは:
Sergio Pedri committed 2023-12-17 14:43:38 +01:00
1 親 2a519c3f51
コミット 9c645170c8
6ファイル変更
+14 -309

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

+2 -2
ファイルの表示
@@ -4,10 +4,10 @@ using ComputeSharp.D2D1.SourceGenerators.Models;
using ComputeSharp.SourceGeneration.Extensions;
using ComputeSharp.SourceGeneration.Helpers;
using ComputeSharp.SourceGeneration.Models;
using ComputeSharp.SourceGeneration.SyntaxProcessors;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static ComputeSharp.D2D1.SourceGenerators.D2DPixelShaderDescriptorGenerator;
namespace ComputeSharp.D2D1.SourceGenerators;
@@ -55,7 +55,7 @@ public sealed partial class D2DPixelShaderSourceGenerator : IIncrementalGenerato
isCompilationEnabled);
// Get the existing compiled shader, or compile the processed HLSL code
HlslBytecodeInfo hlslInfo = HlslBytecode.GetInfo(ref hlslInfoKey, token);
HlslBytecodeInfo hlslInfo = HlslBytecodeSyntaxProcessor.GetInfo(ref hlslInfoKey, token);
token.ThrowIfCancellationRequested();