mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-29 15:44:16 +01:00
Fix GraphicsContext
code formatting for auto formatter
This commit is contained in:
parent
624df92616
commit
41a6afed01
@ -77,7 +77,8 @@ namespace skyline::gpu::interconnect {
|
|||||||
constexpr vk::ImageLayout NullImageInitialLayout{vk::ImageLayout::eUndefined};
|
constexpr vk::ImageLayout NullImageInitialLayout{vk::ImageLayout::eUndefined};
|
||||||
constexpr vk::ImageTiling NullImageTiling{vk::ImageTiling::eOptimal};
|
constexpr vk::ImageTiling NullImageTiling{vk::ImageTiling::eOptimal};
|
||||||
|
|
||||||
auto vkImage{gpu.memory.AllocateImage({
|
auto vkImage{gpu.memory.AllocateImage(
|
||||||
|
{
|
||||||
.imageType = vk::ImageType::e2D,
|
.imageType = vk::ImageType::e2D,
|
||||||
.format = NullImageFormat->vkFormat,
|
.format = NullImageFormat->vkFormat,
|
||||||
.extent = NullImageDimensions,
|
.extent = NullImageDimensions,
|
||||||
@ -90,7 +91,8 @@ namespace skyline::gpu::interconnect {
|
|||||||
.queueFamilyIndexCount = 1,
|
.queueFamilyIndexCount = 1,
|
||||||
.pQueueFamilyIndices = &gpu.vkQueueFamilyIndex,
|
.pQueueFamilyIndices = &gpu.vkQueueFamilyIndex,
|
||||||
.initialLayout = NullImageInitialLayout
|
.initialLayout = NullImageInitialLayout
|
||||||
})};
|
}
|
||||||
|
)};
|
||||||
|
|
||||||
auto nullTexture{std::make_shared<Texture>(gpu, std::move(vkImage), NullImageDimensions, NullImageFormat, NullImageInitialLayout, NullImageTiling)};
|
auto nullTexture{std::make_shared<Texture>(gpu, std::move(vkImage), NullImageDimensions, NullImageFormat, NullImageInitialLayout, NullImageTiling)};
|
||||||
nullTexture->TransitionLayout(vk::ImageLayout::eGeneral);
|
nullTexture->TransitionLayout(vk::ImageLayout::eGeneral);
|
||||||
|
Loading…
Reference in New Issue
Block a user