Adopt HlslBytecodeSyntaxProcessor in both generators

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

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

+3 -3
ファイルの表示
@@ -117,12 +117,12 @@ public sealed partial class ComputeShaderDescriptorGenerator : IIncrementalGener
HlslBytecodeInfoKey hlslInfoKey = new(hlslSource, compileOptions, isCompilationEnabled);
// Try to get the HLSL bytecode
HlslBytecodeInfo hlslInfo = HlslBytecode.GetBytecode(ref hlslInfoKey, token);
HlslBytecodeInfo hlslInfo = HlslBytecodeSyntaxProcessor.GetInfo(ref hlslInfoKey, token);
token.ThrowIfCancellationRequested();
HlslBytecode.GetInfoDiagnostics(typeSymbol, hlslInfo, diagnostics);
HlslBytecode.GetDoublePrecisionSupportDiagnostics(typeSymbol, hlslInfo, diagnostics);
HlslBytecodeSyntaxProcessor.GetInfoDiagnostics(typeSymbol, hlslInfo, diagnostics);
HlslBytecodeSyntaxProcessor.GetDoublePrecisionSupportDiagnostics(typeSymbol, hlslInfo, diagnostics);
token.ThrowIfCancellationRequested();