From 79f839fe825679d1b1056301701b06638bcfb09a Mon Sep 17 00:00:00 2001 From: Mr-Wiseguy Date: Wed, 7 Aug 2024 17:42:15 -0400 Subject: [PATCH] Made ubershaders visible --- src/main/rt64_render_context.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) {