Update source generator and fix default shader profile codegen

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-21 17:22:59 +02:00
1 親 b1ce0e9c43
コミット 01a80f1e33
4ファイル変更
+91 -54

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

+3 -3
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.D2D1.SourceGenerators.Models;
/// A model representing info on a shader that has requested to be precompiled at build time.
/// </summary>
/// <param name="HlslSource">The HLSL source for the shader.</param>
/// <param name="ShaderProfile">The shader profile to use to compile the shader, if requested.</param>
/// <param name="CompileOptions">The compile options to use to compile the shader.</param>
/// <param name="ShaderProfile">The shader profile to use to compile the shader, or the default one.</param>
/// <param name="CompileOptions">The compile options to use to compile the shader, or the default one.</param>
/// <param name="Bytecode">The compiled shader bytecode, if available.</param>
internal sealed record EmbeddedBytecodeInfo(string HlslSource, D2D1ShaderProfile? ShaderProfile, D2D1CompileOptions? CompileOptions, EquatableArray<byte> Bytecode);
internal sealed record EmbeddedBytecodeInfo(string HlslSource, D2D1ShaderProfile ShaderProfile, D2D1CompileOptions CompileOptions, EquatableArray<byte> Bytecode);