radv: Detect if all immutable samplers for a binding are equal.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 27 Feb 2017 08:44:48 +0000 (09:44 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 28 Feb 2017 19:48:10 +0000 (20:48 +0100)
commit500e6e40f683fbad09f38360bb79f8a12442c408
tree68451576e44852a950286ef7e4947893fc5751b7
parentdd2a0c7aef0887554a36134fc2fa762afa90287b
radv: Detect if all immutable samplers for a binding are equal.

We can then use constants for indexed loads.

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