Update generator to apply custom compile options

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-21 16:01:09 +01:00
1 親 9580730e93
コミット fb0a1a441a
6ファイル変更
+158 -36

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

+5 -1
ファイルの表示
@@ -6,5 +6,9 @@ namespace ComputeSharp.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="CompileOptions">The compile options.</param>
/// <param name="IsCompilationEnabled">Whether compilation should be attempted for the current info.</param>
internal sealed record HlslBytecodeInfoKey(string HlslSource, bool IsCompilationEnabled);
internal sealed record HlslBytecodeInfoKey(
string HlslSource,
CompileOptions CompileOptions,
bool IsCompilationEnabled);