Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
polybiusproxy committed Dec 8, 2024
1 parent a88850f commit 1793fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video_core/texture_cache/image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Image::Image(const Vulkan::Instance& instance_, Vulkan::Scheduler& scheduler_,
vk::ImageCreateFlagBits::eExtendedUsage};
const bool can_be_cube =
(info.type == vk::ImageType::e2D) &&
(info.props.is_pow2 ? (info.resources.layers % 8) : (info.resources.layers % 6) == 0) &&
((info.props.is_pow2 ? (info.resources.layers % 8) : (info.resources.layers % 6)) == 0) &&
(info.size.width == info.size.height);
if (info.props.is_cube || can_be_cube) {
flags |= vk::ImageCreateFlagBits::eCubeCompatible;
Expand Down

0 comments on commit 1793fd4

Please sign in to comment.