mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-03 04:13:27 +00:00
d3d12: Do not cache non buffer vertex attribute
Fix dice test
This commit is contained in:
parent
73aeda1507
commit
141c7ef340
@ -297,7 +297,8 @@ std::pair<std::vector<D3D12_VERTEX_BUFFER_VIEW>, D3D12_INDEX_BUFFER_VIEW> D3D12G
|
||||
auto It = m_vertexCache.find(key);
|
||||
|
||||
ID3D12Resource *vertexBuffer;
|
||||
if (It != m_vertexCache.end())
|
||||
if (vbf.range.first != 0 && // Attribute is stored in a buffer, not inline in command buffer
|
||||
It != m_vertexCache.end())
|
||||
vertexBuffer = It->second;
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user