radv: update the check to determine if dynamic discard rectangle is needed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 2 Jun 2022 08:43:05 +0000 (10:43 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 13 Jun 2022 16:46:32 +0000 (16:46 +0000)
commit15586cdaf8d510278a5b0128415415331e504c61
tree7b969e532da19525f87122000adaa5095b398200
parenta42190b6479aa0cfee8faae1b13a3902cb446733
radv: update the check to determine if dynamic discard rectangle is needed

Use radv_graphics_pipeline_info instead of pCreateInfo.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16958>
src/amd/vulkan/radv_pipeline.c