I am trying to use input attachments to perform depth peeling however I cannot create a pipeline with a shader that uses then. When I call vkCreateGraphicsPipelines it returns VK_INCOMPLETE and sets the pipeline handle to null.
An APK that exhibits this can be found here: https://matthewwellings.com/blog/depth-peeling-order-independent-transparency-in-vulkan/apks/vulkanDepthPeel.apk
The pipeline is created by this code: https://github.com/openforeveryone/VulkanDepthPeel/blob/master/app/src/main/jni/main.cpp#L1600
The shader source for that pipeline is here: https://github.com/openforeveryone/VulkanDepthPeel/blob/master/shaders/peel/test.frag
The full code can be found here: https://github.com/openforeveryone/VulkanDepthPeel
This code works on my desktop GPUs and another company's mobile GPU. It also does not produce any relevant validation errors.
Does anyone know what I might be doing wrong? Does the Adreno driver support input attachments?
This now works with the latest Adreno driver on the Nexus 5x. Thanks for the fix.
Sorry I have to post here since I can't make new post on the forums. I also don't know how do I register to post.
My GPU Adreno 5.5 (Android 8.1, Vulkan 1.0.61) of Nokia 5 is not clearing depth attachment.
Here is my API trace, captured by RenderDoc: https://github.com/GPUOpen-LibrariesAndSDKs/V-EZ/pull/57#issuecomment-44...
Could you give me some directions to investigate this more?
I think this may be a driver bug.
I mean Adreno 505, not 5.5.