ac/nir: Make shader key a struct.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 2 Jul 2017 00:48:41 +0000 (02:48 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 24 Aug 2017 17:20:47 +0000 (19:20 +0200)
commiteec5578158c7e6c53c4744c354ae6256f100befc
treeb3efa5398451ab8290057ee649a02eb4c1b5025a
parent64164a1313fcdf1084b0f8a9499165ee22a13aa7
ac/nir: Make shader key a struct.

Some bits can be passed to almost every shader, and I don't like
adding 5 variables.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.h
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_pipeline_cache.c
src/amd/vulkan/radv_private.h