Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add R8 pipeline type #81

Closed
dati91 opened this issue Feb 27, 2018 · 2 comments · Fixed by #113
Closed

Add R8 pipeline type #81

dati91 opened this issue Feb 27, 2018 · 2 comments · Fixed by #113

Comments

@dati91
Copy link
Member

dati91 commented Feb 27, 2018

vkCreateFramebuffer(): VkFramebufferCreateInfo attachment #0 has format of VK_FORMAT_R8_UNORM that does not match the format of VK_FORMAT_B8G8R8A8_UNORM used by the corresponding attachment for renderPass (0x6). The spec valid usage text states 'Each element of pAttachments must have been created with an VkFormat value that matches the VkFormat specified by the corresponding VkAttachmentDescription in renderPass' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkFramebufferCreateInfo-pAttachments-00880)

We should create a render pass with R8 format attachment and create pipeline for that case.

@dati91
Copy link
Member Author

dati91 commented Feb 27, 2018

Actually first we have to just check how will be this R8 texture used, maybe we just don't have to create a framebuffer for it. For now we create frame buffer for every texture.

@dati91
Copy link
Member Author

dati91 commented Mar 23, 2018

The R8 comes from the debug_render. Which we don't use at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants