Add double precision support check to DX12 generator

このコミットが含まれているのは:
Sergio Pedri committed 2023-12-17 12:18:41 +01:00
1 親 35bc8ce649
コミット 9bad2e99db
7ファイル変更
+39 -15

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

+2 -11
ファイルの表示
@@ -11,17 +11,8 @@ internal abstract record HlslBytecodeInfo
/// A successfully compiled HLSL shader.
/// </summary>
/// <param name="Bytecode">The resulting HLSL bytecode.</param>
public sealed record Success(
#if D3D12_GENERATOR
EquatableArray<byte> Bytecode)
#else
#pragma warning disable CS1573
EquatableArray<byte> Bytecode,
bool RequiresDoublePrecisionSupport) // Whether the shader requires support for double precision operations.
#pragma warning restore CS1573
#endif
: HlslBytecodeInfo;
/// <param name="RequiresDoublePrecisionSupport">Whether the shader requires support for double precision operations.</param>
public sealed record Success(EquatableArray<byte> Bytecode, bool RequiresDoublePrecisionSupport) : HlslBytecodeInfo;
/// <summary>
/// An HLSL shader that failed to compile due to a Win32 error.