mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-16 14:05:28 +00:00
Added compute dispatch flags.
This commit is contained in:
@@ -3157,6 +3157,12 @@ namespace bgfx
|
||||
|
||||
const RenderCompute& compute = renderItem.compute;
|
||||
|
||||
if (0 != eye
|
||||
&& BGFX_SUBMIT_EYE_LEFT == (compute.m_submitFlags&BGFX_SUBMIT_EYE_MASK) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
bool programChanged = false;
|
||||
bool constantsChanged = compute.m_constBegin < compute.m_constEnd;
|
||||
rendererUpdateUniforms(this, _render->m_constantBuffer, compute.m_constBegin, compute.m_constEnd);
|
||||
|
||||
Reference in New Issue
Block a user