This commit is contained in:
Branimir Karadžić 2015-08-23 15:20:39 -07:00
parent ea88ba93fb
commit 24fa6eee76

View file

@ -4470,11 +4470,10 @@ data.NumQualityLevels = 0;
m_batch.flush(m_commandList); m_batch.flush(m_commandList);
} }
for (uint32_t bindHash = bx::hashMurmur2A(draw.m_bind, sizeof(draw.m_bind) ) if (currentBindHash != bindHash)
; currentBindHash != bindHash
; currentBindHash = bindHash
)
{ {
currentBindHash = bindHash;
D3D12_GPU_DESCRIPTOR_HANDLE* srv = bindLru.find(bindHash); D3D12_GPU_DESCRIPTOR_HANDLE* srv = bindLru.find(bindHash);
if (NULL == srv) if (NULL == srv)
{ {