From 2371daaf0c8085aa0cbfd006dbddcbefe9b48b27 Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Mon, 24 Jul 2023 19:54:33 +0900 Subject: [PATCH] Mark SSBOs as supported only with feature level >= 11_0 --- src/Veldrid/D3D11/D3D11GraphicsDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Veldrid/D3D11/D3D11GraphicsDevice.cs b/src/Veldrid/D3D11/D3D11GraphicsDevice.cs index 8e680870e..9f72481c5 100644 --- a/src/Veldrid/D3D11/D3D11GraphicsDevice.cs +++ b/src/Veldrid/D3D11/D3D11GraphicsDevice.cs @@ -192,7 +192,7 @@ public D3D11GraphicsDevice(D3D11DeviceOptions options, SwapchainDescription? swa depthClipDisable: true, texture1D: true, independentBlend: true, - structuredBuffer: true, + structuredBuffer: _device.FeatureLevel >= Vortice.Direct3D.FeatureLevel.Level_11_0, subsetTextureView: true, commandListDebugMarkers: _device.FeatureLevel >= Vortice.Direct3D.FeatureLevel.Level_11_1, bufferRangeBinding: _device.FeatureLevel >= Vortice.Direct3D.FeatureLevel.Level_11_1,