Rename D2D1ShaderInfo.FeatureLevel to match D3D name
このコミットが含まれているのは:
1 親
a27c8e0205
コミット
960db097e1
3ファイル変更
+5
-5
検索条件に一致するファイルはありません
@@ -97,6 +97,6 @@ public static class D2D1ReflectionServices
|
||||
MovInstructionCount: d3D11ShaderReflection.Get()->GetMovInstructionCount(),
|
||||
InterfaceSlotCount: d3D11ShaderReflection.Get()->GetNumInterfaceSlots(),
|
||||
RequiresDoublePrecisionSupport: (d3D11ShaderReflection.Get()->GetRequiresFlags() & (D3D.D3D_SHADER_REQUIRES_DOUBLES | D3D.D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS)) != 0,
|
||||
FeatureLevel: (D3DFeatureLevel)d3DFeatureLevel);
|
||||
MinimumFeatureLevel: (D3DFeatureLevel)d3DFeatureLevel);
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,7 @@ namespace ComputeSharp.D2D1.Interop;
|
||||
/// <param name="MovInstructionCount">The number of <c>mov</c> instructions used.</param>
|
||||
/// <param name="InterfaceSlotCount">The number of interface slots used.</param>
|
||||
/// <param name="RequiresDoublePrecisionSupport">Indicates whether support for double precision floating point numbers is required.</param>
|
||||
/// <param name="FeatureLevel">The feature level for the shader.</param>
|
||||
/// <param name="MinimumFeatureLevel">The minimum feature level for the shader.</param>
|
||||
public sealed record D2D1ShaderInfo(
|
||||
string CompilerVersion,
|
||||
string HlslSource,
|
||||
@@ -55,4 +55,4 @@ public sealed record D2D1ShaderInfo(
|
||||
uint MovInstructionCount,
|
||||
uint InterfaceSlotCount,
|
||||
bool RequiresDoublePrecisionSupport,
|
||||
D3DFeatureLevel FeatureLevel);
|
||||
D3DFeatureLevel MinimumFeatureLevel);
|
||||
新しいイシューから参照
ユーザーをブロックする