Skip to content

Commit

Permalink
[d3d9] Enable storage usage for VertexBlend buffer
Browse files Browse the repository at this point in the history
Fixes a validation error.
  • Loading branch information
K0bin committed May 20, 2024
1 parent c78a89b commit fb05413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d9/d3d9_constant_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ namespace dxvk {
// this applies to is so large that it will not matter.
if (pDevice->CanSWVP()
&& ShaderStage == DxsoProgramType::VertexShader
&& BufferType == DxsoConstantBuffers::VSConstantBuffer)
&& (BufferType == DxsoConstantBuffers::VSConstantBuffer || BufferType == DxsoConstantBuffers::VSVertexBlendData))
result |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT;

return result;
Expand Down

0 comments on commit fb05413

Please sign in to comment.