Update source generator and fix default shader profile codegen
このコミットが含まれているのは:
1 親
b1ce0e9c43
コミット
01a80f1e33
4ファイル変更
+91
-54
検索条件に一致するファイルはありません
@@ -239,15 +239,16 @@ public sealed partial class ID2D1ShaderGenerator : IIncrementalGenerator
|
||||
ImmutableArray<byte> bytecode = LoadBytecode.GetBytecode(
|
||||
item.Source,
|
||||
token,
|
||||
out D2D1CompileOptions options,
|
||||
out D2D1ShaderProfile shaderProfile,
|
||||
out D2D1CompileOptions compileOptions,
|
||||
out DeferredDiagnosticInfo? diagnostic);
|
||||
|
||||
token.ThrowIfCancellationRequested();
|
||||
|
||||
EmbeddedBytecodeInfo bytecodeInfo = new(
|
||||
item.Source.HlslSource,
|
||||
item.Source.ShaderProfile,
|
||||
options,
|
||||
shaderProfile,
|
||||
compileOptions,
|
||||
bytecode);
|
||||
|
||||
return (item.Hierarchy, bytecodeInfo, diagnostic);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする