Skip to content

Commit

Permalink
Merge pull request #33 from smoogipoo/fix-d3d-structured-buffer-feature
Browse files Browse the repository at this point in the history
Mark SSBOs as supported only with feature level >= 11_0
  • Loading branch information
peppy authored Jul 31, 2023
2 parents 5ea442d + 2371daa commit 91ce5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Veldrid/D3D11/D3D11GraphicsDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 91ce5a6

Please sign in to comment.