Refactor HlslBytecodeSyntaxProcessor partial constants

このコミットが含まれているのは:
Sergio Pedri committed 2023-12-17 15:09:00 +01:00
1 親 9c645170c8
コミット 86b39c28f5
3ファイル変更
+20 -12

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

@@ -10,10 +10,11 @@ namespace ComputeSharp.SourceGeneration.SyntaxProcessors;
/// <inheritdoc/>
partial class HlslBytecodeSyntaxProcessor
{
/// <summary>
/// The name of the attribute to enable double precision support.
/// </summary>
private const string RequiresDoublePrecisionSupportAttributeName = "ComputeSharp.RequiresDoublePrecisionSupportAttribute";
/// <inheritdoc/>
private static partial string GetRequiresDoublePrecisionSupportAttributeName()
{
return "ComputeSharp.RequiresDoublePrecisionSupportAttribute";
}
/// <inheritdoc/>
private static partial ComPtr<IDxcBlob> Compile(HlslBytecodeInfoKey key, CancellationToken token)