Skip to content

Commit

Permalink
Show missing format before crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Xphalnos committed Dec 31, 2024
1 parent 4bae39f commit 61e47ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video_core/renderer_vulkan/liverpool_to_vk.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ static inline vk::Format PromoteFormatToDepth(vk::Format fmt) {
return vk::Format::eR32Uint;
} else if (fmt == vk::Format::eR8G8B8A8Srgb) {
return vk::Format::eR32Uint;
} else {
LOG_ERROR(Render_Vulkan, "Unexpected Depth Format {}", vk::to_string(fmt));
}
UNREACHABLE();
}
Expand Down

0 comments on commit 61e47ca

Please sign in to comment.