Skip to content

Commit

Permalink
HACK: enable metal validation as well
Browse files Browse the repository at this point in the history
  • Loading branch information
exrook committed Oct 24, 2023
1 parent 9825589 commit 4169f3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ impl NativeTest {
if config.name.contains("subgroup_operations") {
std::env::set_var("MVK_CONFIG_LOG_LEVEL", "2");
std::env::set_var("MVK_DEBUG", "1");
std::env::set_var("MTL_DEBUG_LAYER", "1");
std::env::set_var("MTL_SHADER_VALIDATION", "1");
}

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

0 comments on commit 4169f3b

Please sign in to comment.