radv: Set active_stages the same whether or not shaders were cached
authorAlex Smith <asmith@feralinteractive.com>
Thu, 31 May 2018 14:02:32 +0000 (15:02 +0100)
committerAlex Smith <asmith@feralinteractive.com>
Fri, 1 Jun 2018 07:53:01 +0000 (08:53 +0100)
commit0fa51bfdbe5773cb8534b9e006b81581f4e14982
treee49827e3a271b2a982e53648f2ba3a7263a1f223
parent9e61147ef6de379700b2fec3c9cea30cc2eb23d9
radv: Set active_stages the same whether or not shaders were cached

With GFX9 merged shaders, active_stages would be set to the original
stages specified if shaders were not cached, but to the stages still
present after merging if they were.

Be consistent and use the original stages.

Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Cc: "18.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c