disable async shader compilation on macOS

This commit is contained in:
mchughalex 2026-06-14 09:46:21 +01:00
parent 4ae4da7552
commit 4e468082dc

View file

@ -31,6 +31,7 @@
#include <rex/math.h> #include <rex/math.h>
#include <rex/memory.h> #include <rex/memory.h>
#include <rex/memory/ring_buffer.h> #include <rex/memory/ring_buffer.h>
#include <rex/platform.h>
#include <rex/stream.h> #include <rex/stream.h>
#include <rex/system/kernel_state.h> #include <rex/system/kernel_state.h>
#include <rex/system/user_module.h> #include <rex/system/user_module.h>
@ -103,7 +104,7 @@ REXCVAR_DEFINE_INT32(query_occlusion_fake_sample_count, 1000, "GPU",
.range(1, 100000) .range(1, 100000)
.lifecycle(rex::cvar::Lifecycle::kHotReload); .lifecycle(rex::cvar::Lifecycle::kHotReload);
REXCVAR_DEFINE_BOOL(async_shader_compilation, true, "GPU", REXCVAR_DEFINE_BOOL(async_shader_compilation, !REX_PLATFORM_MAC, "GPU",
"Compile shaders and create pipelines asynchronously in background " "Compile shaders and create pipelines asynchronously in background "
"threads. This reduces stutter but may cause brief visual artifacts while " "threads. This reduces stutter but may cause brief visual artifacts while "
"pipelines are being prepared.") "pipelines are being prepared.")