#Failed to get fragment output to output colour attachment

5 messages · Page 1 of 1 (latest)

obtuse breach
#

Hello, I am trying to troubleshoot something and am out of ideas to find out what is wrong.
In short I am trying dynamic rendering(with the local read extension) and am trying to have the first pipeline output to a colour attachment, but I don't get anything to reach that color attachment. I used render doc to confirm:
-a fragment is emitted when I expect one, and does not return black according to the fragment debugger of render doc.
-according to render doc, the colour attachment at the location the shader output to is the one I intended and is listed/named correctly in the FB tab of the pipeline state(also tried outputting directly to the swapchain image with the same result)

No validation layers are complaining. I'm for now only trying to output white pixels.
Any suggestion to where I could start investigating ? any common gotchas that would fly past validation layers?
I can provide a render doc capture if it helps/is allowed.

wicked locust
#

I would definitely recommend posting the renderdoc capture. My own renderdoc skills are very rusty, but someone else can probably figure out what your problem is.

another question: how are you trying to read that color attachment?

obtuse breach
#

So far, reading it through render doc (edit: writing to my swapchain image on the next pipeline, the output of the fragment shader still doesn't make it to the image ).
I'll upload the render doc capture soon then

obtuse breach
obtuse breach
#

Solved, my VkPipelineColorAttachmentState array was incorrectly initialised, and the write masks were undefined.