Searched refs:MathRoundup (Results 1 – 4 of 4) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Utility/ |
| D | demo_MemoryManager.cpp | 31 inline uptr MathRoundup(uptr x, int base) in MathRoundup() function 152 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate() 157 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate() 164 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate() 169 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Cmd/TriangleSimpleCmd/ |
| D | MemoryManager.cpp | 31 inline uptr MathRoundup(uptr x, int base) in MathRoundup() function 153 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate() 158 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate() 165 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate() 170 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Cmd/FragmentLightingSimpleCmd/ |
| D | MemoryManager.cpp | 34 inline uptr MathRoundup(uptr x, int base) in MathRoundup() function 156 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate() 161 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate() 168 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate() 173 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/EarlyDepthTestSample/ |
| D | MemoryManager.cpp | 34 inline uptr MathRoundup(uptr x, int base) in MathRoundup() function 156 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate() 161 m_CurrentAddrVramA = MathRoundup(m_CurrentAddrVramA, addrAlign); in Allocate() 168 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate() 173 m_CurrentAddrVramB = MathRoundup(m_CurrentAddrVramB, addrAlign); in Allocate()
|