radv: ignore pDepthStencilState if rasterization is disabled
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 19 Dec 2019 13:26:45 +0000 (14:26 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 20 Dec 2019 07:20:55 +0000 (08:20 +0100)
commitebc7a778695f6137ae9d41e812cf9f3961eee65f
tree8baf1970117dfcf42f0308aeef9b7bc60d76df0c
parentce67e41535001a7af780db4346cad3af175da5c3
radv: ignore pDepthStencilState if rasterization is disabled

Or if the subpass has no depth stencil attachment.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3167>
src/amd/vulkan/radv_pipeline.c