diff --git a/src/ComputeSharp.Graphics/Helpers/DeviceHelper.Enumerator.cs b/src/ComputeSharp.Graphics/Helpers/DeviceHelper.Enumerator.cs index 0c6b73cb..daefc4ec 100644 --- a/src/ComputeSharp.Graphics/Helpers/DeviceHelper.Enumerator.cs +++ b/src/ComputeSharp.Graphics/Helpers/DeviceHelper.Enumerator.cs @@ -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(), 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(), d3D12Device.GetVoidAddressOf()).Assert(); diff --git a/src/ComputeSharp.Graphics/Helpers/DeviceHelper.cs b/src/ComputeSharp.Graphics/Helpers/DeviceHelper.cs index 86c880b7..4f4e08fe 100644 --- a/src/ComputeSharp.Graphics/Helpers/DeviceHelper.cs +++ b/src/ComputeSharp.Graphics/Helpers/DeviceHelper.cs @@ -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(), (void**)d3D12Device); diff --git a/src/ComputeSharp.Shaders/Translation/ShaderCompiler.cs b/src/ComputeSharp.Shaders/Translation/ShaderCompiler.cs index d5e62752..38c19d3a 100644 --- a/src/ComputeSharp.Shaders/Translation/ShaderCompiler.cs +++ b/src/ComputeSharp.Shaders/Translation/ShaderCompiler.cs @@ -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(