mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
command sync (#1823)
Added command barrier bit when submitting with an indirect buffer - this fixes the flickering on tess-41
This commit is contained in:
committed by
Бранимир Караџић
parent
d04528491e
commit
e14c077b32
@@ -6641,6 +6641,7 @@ BX_TRACE("%d, %d, %d, %s", _array, _srgb, _mipAutogen, getName(_format) );
|
||||
|
||||
if (isValid(compute.m_indirectBuffer) )
|
||||
{
|
||||
barrier |= GL_COMMAND_BARRIER_BIT;
|
||||
const VertexBufferGL& vb = m_vertexBuffers[compute.m_indirectBuffer.idx];
|
||||
if (currentState.m_indirectBuffer.idx != compute.m_indirectBuffer.idx)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user