radv: Use an offset instead of pointers for immutable samplers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 11 Apr 2017 22:37:06 +0000 (00:37 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 12 Apr 2017 05:43:25 +0000 (07:43 +0200)
commitbd91caf86366b88330bc167945512d35cc029db0
tree3e4222883d27d3d01ed740c3da0bd6bc7097f3d6
parentb35b5951fc5a0e0e697fb291d8fa257d413c717f
radv: Use an offset instead of pointers for immutable samplers.

Makes more sense when we hash the layout for the pipeline cache.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/vulkan/radv_descriptor_set.c
src/amd/vulkan/radv_descriptor_set.h
src/amd/vulkan/radv_private.h