mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-11 06:19:07 +00:00
Initial support for asynchronous shader compilation
This commit is contained in:
parent
87023b432e
commit
9ccc4227cb
@ -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
@ -1 +1 @@
|
|||||||
Subproject commit 6caf187e3204ff5e92b40b6f50b015ef785c69d7
|
Subproject commit 8085bc96753ef27a84210a7c4226a8ff76d98437
|
2
specter
2
specter
@ -1 +1 @@
|
|||||||
Subproject commit d4a4c425371077cf7ebb2088086755b7d28c7342
|
Subproject commit fac824cb79d6fd5c4c4ee2bf53c10194064a4d1b
|
Loading…
x
Reference in New Issue
Block a user