Skip to content

Commit 4cf56bd

Browse files
committed
log disassembly for WRAPPER_LOG_LEVEL=all too
1 parent 178f415 commit 4cf56bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vulkan/wrapper/spirv_edit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static void print_spirv_code(const char* prefix, int size, const uint32_t* pCode
4343
}
4444

4545
void LogDisassembly(const std::string& title, const std::vector<uint32_t>& binary, int id) {
46-
if (!CHECK_FLAG("LOG_DISASSEMBLY")) {
46+
if (!CHECK_FLAG("LOG_DISASSEMBLY") && !CAN_LOG(LOG_LEVEL_ALL)) {
4747
return;
4848
}
4949
spvtools::SpirvTools tools(SPV_ENV_VULKAN_1_1_SPIRV_1_4);

0 commit comments

Comments
 (0)