Pass proper VK_NULL_HANDLE for descriptor image info initializer
This commit is contained in:
parent
864beb0472
commit
79d9f0bde3
1 changed files with 3 additions and 3 deletions
|
|
@ -741,19 +741,19 @@ public:
|
|||
// Image descriptors for the offscreen color attachments
|
||||
VkDescriptorImageInfo texDescriptorPosition =
|
||||
vkTools::initializers::descriptorImageInfo(
|
||||
nullptr,
|
||||
VK_NULL_HANDLE,
|
||||
attachments.position.view,
|
||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
||||
|
||||
VkDescriptorImageInfo texDescriptorNormal =
|
||||
vkTools::initializers::descriptorImageInfo(
|
||||
nullptr,
|
||||
VK_NULL_HANDLE,
|
||||
attachments.normal.view,
|
||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
||||
|
||||
VkDescriptorImageInfo texDescriptorAlbedo =
|
||||
vkTools::initializers::descriptorImageInfo(
|
||||
nullptr,
|
||||
VK_NULL_HANDLE,
|
||||
attachments.albedo.view,
|
||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue