Fixed a crash when loading a specific GPU device

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-13 13:21:03 +02:00
1 親 279d7c372f
コミット 666f7e67de
1ファイル変更
-3
-3
ファイルの表示
@@ -18,9 +18,6 @@ namespace ComputeSharp.Graphics
/// <param name="description">The available info for the new <see cref="GraphicsDevice"/> instance</param>
public GraphicsDevice(Device device, AdapterDescription description)
{
#if DEBUG
DebugInterface.Get().EnableDebugLayer();
#endif
NativeDevice = device;
Description = description;
WavefrontSize = NativeDevice.D3D12Options1.WaveLaneCountMin;