From de9c7c1770326d13d5878b3cd9596cfd37431e0d Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 3 Nov 2024 21:48:32 -0300 Subject: [PATCH 1/2] Use RHI Updates branch. --- lib/rt64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rt64 b/lib/rt64 index 88c618c..646bb81 160000 --- a/lib/rt64 +++ b/lib/rt64 @@ -1 +1 @@ -Subproject commit 88c618c1f8d8089f94e78537e49e0d77798fc0be +Subproject commit 646bb813a54dbef5bec8d38f5a08fd1acde1d555 From f779a4141a2886a444cf502465fc4fcd9e5a5188 Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 3 Nov 2024 22:21:05 -0300 Subject: [PATCH 2/2] Deprecate offline list. --- src/main/rt64_render_context.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/rt64_render_context.cpp b/src/main/rt64_render_context.cpp index 8d5c735..7f72e8e 100644 --- a/src/main/rt64_render_context.cpp +++ b/src/main/rt64_render_context.cpp @@ -398,13 +398,7 @@ float zelda64::renderer::RT64Context::get_resolution_scale() const { } void zelda64::renderer::RT64Context::load_shader_cache(std::span cache_binary) { - // TODO figure out how to avoid a copy here. - std::istringstream cache_stream{std::string{cache_binary.data(), cache_binary.size()}}; - - if (!app->rasterShaderCache->loadOfflineList(cache_stream)) { - printf("Failed to preload shader cache!\n"); - assert(false); - } + // Deprecated. } RT64::UserConfiguration::Antialiasing zelda64::renderer::RT64MaxMSAA() {