radv: Consolidate GFX9 merged shader lookup logic
authorAlex Smith <asmith@feralinteractive.com>
Thu, 31 May 2018 14:18:52 +0000 (15:18 +0100)
committerAlex Smith <asmith@feralinteractive.com>
Fri, 1 Jun 2018 07:53:31 +0000 (08:53 +0100)
commit7ca0167ae97def827d66205b7c873ceb360224ab
treed5b550db828695d594df04e38ec88e0da235ff7f
parent0fa51bfdbe5773cb8534b9e006b81581f4e14982
radv: Consolidate GFX9 merged shader lookup logic

This was being handled in a few different places, consolidate it into a
single radv_get_shader() function.

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_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h