Lowered requirement to FL11_0 and SM6_0

このコミットが含まれているのは:
Sergio Pedri committed 2020-12-15 17:10:45 +01:00
1 親 1f1ba35324
コミット 10a2a1c28b
3ファイル変更
+4 -4

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

+2 -2
ファイルの表示
@@ -126,7 +126,7 @@ namespace ComputeSharp.Graphics.Helpers
HRESULT createDeviceResult = FX.D3D12CreateDevice(
dxgiAdapter1.AsIUnknown().Get(),
D3D_FEATURE_LEVEL.D3D_FEATURE_LEVEL_12_0,
D3D_FEATURE_LEVEL.D3D_FEATURE_LEVEL_11_0,
FX.__uuidof<ID3D12Device>(),
null);
@@ -137,7 +137,7 @@ namespace ComputeSharp.Graphics.Helpers
FX.D3D12CreateDevice(
dxgiAdapter1.AsIUnknown().Get(),
D3D_FEATURE_LEVEL.D3D_FEATURE_LEVEL_12_0,
D3D_FEATURE_LEVEL.D3D_FEATURE_LEVEL_11_0,
FX.__uuidof<ID3D12Device>(),
d3D12Device.GetVoidAddressOf()).Assert();
+1 -1
ファイルの表示
@@ -95,7 +95,7 @@ namespace ComputeSharp.Graphics.Helpers
HRESULT createDeviceResult = FX.D3D12CreateDevice(
dxgiAdapter1.AsIUnknown().Get(),
D3D_FEATURE_LEVEL.D3D_FEATURE_LEVEL_12_0,
D3D_FEATURE_LEVEL.D3D_FEATURE_LEVEL_11_0,
FX.__uuidof<ID3D12Device>(),
(void**)d3D12Device);
+1 -1
ファイルの表示
@@ -76,7 +76,7 @@ namespace ComputeSharp.Shaders.Translation
// Try to compile the new compute shader
fixed (char* shaderName = "")
fixed (char* entryPoint = nameof(IComputeShader.Execute))
fixed (char* shaderProfile = "cs_6_1")
fixed (char* shaderProfile = "cs_6_0")
fixed (char* optimization = "-O3")
{
DxcCompiler.Get()->Compile(