From af2a2d22c6e6ee3fa612a816d4acc4bcafd8d449 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Sat, 13 Jan 2024 15:14:57 +0100 Subject: [PATCH] Add env-var to override local invocation. --- tests/meshlet_viewer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/meshlet_viewer.cpp b/tests/meshlet_viewer.cpp index b18a8ee3..817841fa 100644 --- a/tests/meshlet_viewer.cpp +++ b/tests/meshlet_viewer.cpp @@ -600,6 +600,7 @@ struct MeshletViewerApplication : Granite::Application, Granite::EventHandler // bool local_invocation_indexed = device.get_device_features().mesh_shader_properties.prefersLocalInvocationPrimitiveOutput || device.get_device_features().mesh_shader_properties.prefersLocalInvocationVertexOutput; + local_invocation_indexed = Util::get_environment_bool("LOCAL_INVOCATION", local_invocation_indexed); if (ui.use_preculling) {