mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:04:56 +00:00
Initial support for asynchronous shader compilation
This commit is contained in:
@@ -357,6 +357,7 @@ void CMain::InitializeSubsystems() {
|
|||||||
CAnimData::InitializeCache();
|
CAnimData::InitializeCache();
|
||||||
CDecalManager::Initialize();
|
CDecalManager::Initialize();
|
||||||
CGBASupport::Initialize();
|
CGBASupport::Initialize();
|
||||||
|
CGraphics::g_BooFactory->waitUntilShadersReady();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMain::MemoryCardInitializePump() {
|
void CMain::MemoryCardInitializePump() {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
#include "Weapon/CGameProjectile.hpp"
|
#include "Weapon/CGameProjectile.hpp"
|
||||||
#include "Particle/CFlameWarp.hpp"
|
#include "Particle/CFlameWarp.hpp"
|
||||||
#include "Graphics/Shaders/CAABoxShader.hpp"
|
|
||||||
|
|
||||||
namespace urde {
|
namespace urde {
|
||||||
class CFlameInfo;
|
class CFlameInfo;
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ bool CPFRegion::FindBestPoint(std::vector<zeus::CVector3f>& polyPoints, const ze
|
|||||||
|
|
||||||
if (!isFlyer) {
|
if (!isFlyer) {
|
||||||
polyPoints.clear();
|
polyPoints.clear();
|
||||||
for (u32 i = x0_numNodes - 1; i >= 0; --i) {
|
for (int i = int(x0_numNodes) - 1; i >= 0; --i) {
|
||||||
CPFNode& node = x4_startNode[i];
|
CPFNode& node = x4_startNode[i];
|
||||||
polyPoints.push_back(node.GetPos());
|
polyPoints.push_back(node.GetPos());
|
||||||
polyPoints.back().z() += x14_height;
|
polyPoints.back().z() += x14_height;
|
||||||
|
|||||||
2
hecl
2
hecl
Submodule hecl updated: 6caf187e32...8085bc9675
2
specter
2
specter
Submodule specter updated: d4a4c42537...fac824cb79
Reference in New Issue
Block a user