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
|
// Image descriptors for the offscreen color attachments
|
||||||
VkDescriptorImageInfo texDescriptorPosition =
|
VkDescriptorImageInfo texDescriptorPosition =
|
||||||
vkTools::initializers::descriptorImageInfo(
|
vkTools::initializers::descriptorImageInfo(
|
||||||
nullptr,
|
VK_NULL_HANDLE,
|
||||||
attachments.position.view,
|
attachments.position.view,
|
||||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
||||||
|
|
||||||
VkDescriptorImageInfo texDescriptorNormal =
|
VkDescriptorImageInfo texDescriptorNormal =
|
||||||
vkTools::initializers::descriptorImageInfo(
|
vkTools::initializers::descriptorImageInfo(
|
||||||
nullptr,
|
VK_NULL_HANDLE,
|
||||||
attachments.normal.view,
|
attachments.normal.view,
|
||||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
||||||
|
|
||||||
VkDescriptorImageInfo texDescriptorAlbedo =
|
VkDescriptorImageInfo texDescriptorAlbedo =
|
||||||
vkTools::initializers::descriptorImageInfo(
|
vkTools::initializers::descriptorImageInfo(
|
||||||
nullptr,
|
VK_NULL_HANDLE,
|
||||||
attachments.albedo.view,
|
attachments.albedo.view,
|
||||||
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue