From d5894f1e6c9ec2b2f0b5bf3ab013a35f6db4a3be Mon Sep 17 00:00:00 2001 From: Dario Date: Tue, 6 Aug 2024 19:21:50 -0300 Subject: [PATCH] Make ubershaders visible and add re-spirv. --- lib/rt64 | 2 +- src/main/rt64_render_context.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/rt64 b/lib/rt64 index 8747507..1f98d76 160000 --- a/lib/rt64 +++ b/lib/rt64 @@ -1 +1 @@ -Subproject commit 8747507cf96a4921efe83ea492dd0afbac1481f5 +Subproject commit 1f98d76667a013b56b3d00b5bf2d46823db195fa diff --git a/src/main/rt64_render_context.cpp b/src/main/rt64_render_context.cpp index 497e504..a335d3e 100644 --- a/src/main/rt64_render_context.cpp +++ b/src/main/rt64_render_context.cpp @@ -266,6 +266,9 @@ zelda64::renderer::RT64Context::RT64Context(uint8_t* rdram, ultramodern::rendere // Set the application's fullscreen state. app->setFullScreen(cur_config.wm_option == ultramodern::renderer::WindowMode::Fullscreen); + // Default to ubershaders being visible to visualize the shader compilation time. + app->workloadQueue->ubershadersVisible = true; + // Check if the selected device actually supports MSAA sample positions and MSAA for for the formats that will be used // and downgrade the configuration accordingly. if (app->device->getCapabilities().sampleLocations) {