Skip to content

Commit

Permalink
igl | vulkan | Add framebuffer image view debug name
Browse files Browse the repository at this point in the history
Summary: Added a debug name for framebuffer image views.

Reviewed By: dmannemela, syeh1

Differential Revision: D49378058

fbshipit-source-id: 4b2d48a7d693ef1c17d44e17ebc8f48110d6d145
  • Loading branch information
corporateshark authored and facebook-github-bot committed Sep 18, 2023
1 parent 342dc14 commit cdadc7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/igl/vulkan/Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ VkImageView Texture::getVkImageViewForFramebuffer(uint32_t mipLevel,
mipLevel,
1u,
layer,
isStereo ? VK_REMAINING_ARRAY_LAYERS : 1u);
isStereo ? VK_REMAINING_ARRAY_LAYERS : 1u,
"Image View: igl/vulkan/Texture.cpp: Texture::getVkImageViewForFramebuffer()");

return imageViewForFramebuffer_[index]->vkImageView_;
}
Expand Down

0 comments on commit cdadc7c

Please sign in to comment.