made rendering work
This commit is contained in:
@@ -38,7 +38,10 @@ DECLARE_VULKAN_COMMAND(Begin)
|
||||
a.sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO;
|
||||
a.imageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL;
|
||||
a.loadOp = VK_ATTACHMENT_LOAD_OP_CLEAR;
|
||||
a.clearValue.color.float32[1] = 1;
|
||||
a.clearValue.color.float32[0] = i.m_fClearColor[0];
|
||||
a.clearValue.color.float32[1] = i.m_fClearColor[1];
|
||||
a.clearValue.color.float32[2] = i.m_fClearColor[2];
|
||||
a.clearValue.color.float32[3] = i.m_fClearColor[3];
|
||||
a.storeOp = VK_ATTACHMENT_STORE_OP_STORE;
|
||||
a.imageView = ((CVkImage*)VulkanGetObject(i.m_stImage, iCurrentFrame))->m_imageView;
|
||||
attachments.AppendTail(a);
|
||||
|
||||
Reference in New Issue
Block a user