Fix selected profile check for ebedded bytecode

このコミットが含まれているのは:
Sergio Pedri committed 2022-04-24 21:04:10 +02:00
1 親 4652a5a1cd
コミット 13aa9db1db
3ファイル変更
+11 -11

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

+1 -1
ファイルの表示
@@ -147,7 +147,7 @@ public sealed partial class ID2D1ShaderGenerator : IIncrementalGenerator
token.ThrowIfCancellationRequested();
EmbeddedBytecodeInfo bytecodeInfo = new(item.Source.HlslSource, item.Source.IsLinkingSupported, bytecode);
EmbeddedBytecodeInfo bytecodeInfo = new(item.Source.HlslSource, item.Source.ShaderProfile, item.Source.IsLinkingSupported, bytecode);
return (item.Hierarchy, bytecodeInfo, diagnostic);
});