Skip to content

Commit

Permalink
metal capture
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Leo-Smith committed Dec 27, 2024
1 parent 6d955c8 commit a7fcaaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backends/metal/metal_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ MetalCompiler::_load_disk_archive(luisa::string_view name, bool is_aot,
auto should_dump_metallib =
MTL::CaptureManager::sharedCaptureManager()->isCapturing() ||
detail::get_bool_env("METAL_CAPTURE_ENABLED") ||
detail::get_bool_env("MTL_ENABLE_CAPTURE") ||
detail::get_bool_env("MTL_DEBUG_LAYER") ||
detail::get_bool_env("MTL_SHADER_VALIDATION") ||
detail::get_bool_env("LUISA_DUMP_METAL_LIBRARY");
Expand Down

0 comments on commit a7fcaaa

Please sign in to comment.