Skip to content

Commit b09d67c

Browse files
committed
Fix Android builds
1 parent b173003 commit b09d67c

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

attachments/27_depth_buffering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ class HelloTriangleApplication {
866866
);
867867
// Transition depth image to depth attachment optimal layout
868868
transition_image_layout(
869-
depthImage,
869+
*depthImage,
870870
vk::ImageLayout::eUndefined,
871871
vk::ImageLayout::eDepthAttachmentOptimal,
872872
vk::AccessFlagBits2::eDepthStencilAttachmentWrite,

attachments/28_model_loading.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ class HelloTriangleApplication {
910910
);
911911
// Transition depth image to depth attachment optimal layout
912912
transition_image_layout(
913-
depthImage,
913+
*depthImage,
914914
vk::ImageLayout::eUndefined,
915915
vk::ImageLayout::eDepthAttachmentOptimal,
916916
vk::AccessFlagBits2::eDepthStencilAttachmentWrite,

attachments/29_mipmapping.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ class HelloTriangleApplication {
976976
);
977977
// Transition depth image to depth attachment optimal layout
978978
transition_image_layout(
979-
depthImage,
979+
*depthImage,
980980
vk::ImageLayout::eUndefined,
981981
vk::ImageLayout::eDepthAttachmentOptimal,
982982
vk::AccessFlagBits2::eDepthStencilAttachmentWrite,

attachments/30_multisampling.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ class HelloTriangleApplication {
10171017
);
10181018
// Transition the depth image to DEPTH_ATTACHMENT_OPTIMAL
10191019
transition_image_layout(
1020-
depthImage,
1020+
*depthImage,
10211021
vk::ImageLayout::eUndefined,
10221022
vk::ImageLayout::eDepthAttachmentOptimal,
10231023
vk::AccessFlagBits2::eDepthStencilAttachmentWrite,

attachments/35_gltf_ktx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ class VulkanApplication {
11921192
);
11931193
// Transition depth image to depth attachment optimal layout
11941194
transition_image_layout(
1195-
depthImage,
1195+
*depthImage,
11961196
vk::ImageLayout::eUndefined,
11971197
vk::ImageLayout::eDepthAttachmentOptimal,
11981198
vk::AccessFlagBits2::eDepthStencilAttachmentWrite,

attachments/36_multiple_objects.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ class VulkanApplication {
12791279
);
12801280
// Transition depth image to depth attachment optimal layout
12811281
transition_image_layout(
1282-
depthImage,
1282+
*depthImage,
12831283
vk::ImageLayout::eUndefined,
12841284
vk::ImageLayout::eDepthAttachmentOptimal,
12851285
vk::AccessFlagBits2::eDepthStencilAttachmentWrite,

attachments/38_ray_tracing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ class VulkanRaytracingApplication {
15671567
);
15681568
// Transition depth image to depth attachment optimal layout
15691569
transition_image_layout(
1570-
depthImage,
1570+
*depthImage,
15711571
vk::ImageLayout::eUndefined,
15721572
vk::ImageLayout::eDepthAttachmentOptimal,
15731573
vk::AccessFlagBits2::eDepthStencilAttachmentWrite,

0 commit comments

Comments
 (0)