[graphics] merc2 renderer (#1374)

* tfrag3 data for merc2

* dma hooks for merc2

* start designing merc2 opengl, seems like the simple approach will be the best here

* before bone packing experiment

* fix up bones.gc

* use uniform buffer

* speedup, fix faces and eyes

* final fixes
This commit is contained in:
water111
2022-05-28 19:28:19 -04:00
committed by GitHub
parent 9449078a9b
commit e56b2e8d56
32 changed files with 1639 additions and 317 deletions
+2
View File
@@ -9,6 +9,7 @@
#include <cstring>
#include <cstdio>
#include <common/versions.h>
#include "common/log/log.h"
#include "klink.h"
#include "fileio.h"
#include "kscheme.h"
@@ -778,6 +779,7 @@ void link_control::finish(bool jump_from_c_to_goal) {
*EnableMethodSet = *EnableMethodSet + m_keep_debug;
ObjectFileHeader* ofh = m_link_block_ptr.cast<ObjectFileHeader>().c();
lg::info("link finish: {}", m_object_name);
if (ofh->object_file_version == 3) {
// todo check function type of entry