Skip to content

Commit

Permalink
HACK: enable mvk debug
Browse files Browse the repository at this point in the history
  • Loading branch information
exrook committed Oct 24, 2023
1 parent af5415e commit 9825589
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/src/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ impl NativeTest {
std::env::set_var("MTL_DEBUG_LAYER", env_value);
std::env::set_var("MTL_SHADER_VALIDATION", env_value);

// Enable MoltenVK Debug for our failing test
if config.name.contains("subgroup_operations") {
std::env::set_var("MVK_CONFIG_LOG_LEVEL", "2");
std::env::set_var("MVK_DEBUG", "1");
}

execute_test(config, Some(test_info), adapter_index).await;
}),
}
Expand Down

0 comments on commit 9825589

Please sign in to comment.