Adopt HlslBytecodeSyntaxProcessor in both generators

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

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

+3 -3
ファイルの表示
@@ -163,13 +163,13 @@ public sealed partial class D2DPixelShaderDescriptorGenerator : IIncrementalGene
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();
// Append any diagnostic for the shader compilation
HlslBytecode.GetInfoDiagnostics(typeSymbol, hlslInfo, diagnostics);
HlslBytecode.GetDoublePrecisionSupportDiagnostics(typeSymbol, hlslInfo, diagnostics);
HlslBytecodeSyntaxProcessor.GetInfoDiagnostics(typeSymbol, hlslInfo, diagnostics);
HlslBytecodeSyntaxProcessor.GetDoublePrecisionSupportDiagnostics(typeSymbol, hlslInfo, diagnostics);
token.ThrowIfCancellationRequested();