Simplify HlslBytecodeInfoKey model

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-03 01:15:04 +02:00
1 親 1029ad2622
コミット 610fc5808e
4ファイル変更
+19 -23

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

+6 -10
ファイルの表示
@@ -4,15 +4,11 @@ namespace ComputeSharp.D2D1.SourceGenerators.Models;
/// A model with info to be a unique key for <see cref="HlslBytecodeInfo"/> instances.
/// </summary>
/// <param name="HlslSource">The input HLSL source code.</param>
/// <param name="RequestedShaderProfile">The requested shader profile, if available.</param>
/// <param name="RequestedCompileOptions">The requested compile options, if available.</param>
/// <param name="EffectiveShaderProfile">The effective shader profile.</param>
/// <param name="EffectiveCompileOptions">The effective compile options.</param>
/// <param name="HasErrors">Whether any errors were produced when analyzing the shader.</param>
/// <param name="ShaderProfile">The shader profile.</param>
/// <param name="CompileOptions">The compile options.</param>
/// <param name="IsCompilationEnabled">Whether compilation should be attempted for the current info.</param>
internal sealed record HlslBytecodeInfoKey(
string HlslSource,
D2D1ShaderProfile? RequestedShaderProfile,
D2D1CompileOptions? RequestedCompileOptions,
D2D1ShaderProfile EffectiveShaderProfile,
D2D1CompileOptions EffectiveCompileOptions,
bool HasErrors);
D2D1ShaderProfile ShaderProfile,
D2D1CompileOptions CompileOptions,
bool IsCompilationEnabled);