mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Predefined uniforms refactoring.
This commit is contained in:
@@ -750,6 +750,8 @@ namespace bgfx
|
||||
|
||||
m_constEnd = m_constantBuffer->getPos();
|
||||
|
||||
m_compute.m_matrix = m_draw.m_matrix;
|
||||
m_compute.m_num = m_draw.m_num;
|
||||
m_compute.m_numX = bx::uint16_max(_numX, 1);
|
||||
m_compute.m_numY = bx::uint16_max(_numY, 1);
|
||||
m_compute.m_numZ = bx::uint16_max(_numZ, 1);
|
||||
|
||||
Reference in New Issue
Block a user