Removed unnecessary component swizzle assignments

Fixes #160
This commit is contained in:
Sascha Willems 2022-12-31 12:31:27 +01:00
parent 07fe7401a1
commit 72e8083b7c
12 changed files with 0 additions and 16 deletions

View file

@ -428,7 +428,6 @@ public:
VkImageViewCreateInfo view = vks::initializers::imageViewCreateInfo();
view.viewType = VK_IMAGE_VIEW_TYPE_2D;
view.format = format;
view.components = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A };
// The subresource range describes the set of mip levels (and array layers) that can be accessed through this image view
// It's possible to create multiple image views for a single image referring to different (and/or overlapping) ranges of the image
view.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;