Skip to content

Commit

Permalink
Add env-var to override local invocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Themaister committed Jan 13, 2024
1 parent b890855 commit af2a2d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/meshlet_viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit af2a2d2

Please sign in to comment.