Update mimir, WIP implementing Arena allocation
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-08-15 02:12:28 -07:00
parent 736895fede
commit f98bb5d4e4
6 changed files with 10 additions and 5 deletions

2
hydra

Submodule hydra updated: 516e143901...7e38a43301

View File

@@ -49,6 +49,7 @@
#include "KRDeviceManager.h"
#include "KRDevice.h"
#include "KRSurface.h"
#include "arena.h"
class KRAudioManager;
class KRPresentationThread;
@@ -225,4 +226,6 @@ private:
unordered_map<KrSurfaceMapIndex, KrSurfaceHandle> m_surfaceHandleMap;
virtual bool getShaderValue(const KRCamera* camera, ShaderValue value, float* output) const;
mimir::Arena m_frameAllocators[KRENGINE_MAX_FRAMES_IN_FLIGHT];
};

View File

@@ -32,7 +32,7 @@
#pragma once
#define KRENGINE_MAX_GPU_COUNT 4
#define KRENGINE_MAX_FRAMES_IN_FLIGHT 2
#define KRENGINE_MAX_FRAMES_IN_FLIGHT 3
#define KRENGINE_DEBUG_GPU_LABELS 1
#define KRENGINE_DEBUG_GPU_LABEL_MAX_LEN 128

View File

@@ -486,7 +486,7 @@ void KRCamera::renderPost(RenderInfo& ri)
void KRCamera::renderDebug(RenderInfo& ri)
{
settings.m_debug_text = std::format("Frame Number {}", getContext().getCurrentFrame()); // FNIDME!! KIPG!! HACK!! Debug text debugging...
// settings.m_debug_text = std::format("Frame Number {}", getContext().getCurrentFrame()); // FINDME!! KIPG!! HACK!! Debug text debugging...
const char* szText = settings.m_debug_text.c_str();
if (*szText == '\0') {

View File

@@ -45,6 +45,8 @@
#include "nodes/KRBone.h"
#include "KRShaderReflection.h"
#include <limits>
enum class CullMode : __uint32_t;
enum class ModelFormat : __uint8_t;
enum class Topology : __uint8_t;

2
mimir

Submodule mimir updated: da5f3ec981...7dd0eb961a