Dispatch compute is always in sequential mode.

This commit is contained in:
Branimir Karadžić 2015-02-17 16:26:35 -08:00
parent 8c1518f259
commit 3838492e8d

View file

@ -775,7 +775,7 @@ namespace bgfx
{ {
m_key.m_depth = 0; m_key.m_depth = 0;
m_key.m_view = _id; m_key.m_view = _id;
m_key.m_seq = s_ctx->m_seq[_id] & s_ctx->m_seqMask[_id]; m_key.m_seq = s_ctx->m_seq[_id];
s_ctx->m_seq[_id]++; s_ctx->m_seq[_id]++;
uint64_t key = m_key.encodeCompute(); uint64_t key = m_key.encodeCompute();