radv: Add mapping between dynamic state mask and external enum.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 9 Jan 2018 21:22:59 +0000 (22:22 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 10 Jan 2018 12:24:31 +0000 (13:24 +0100)
commit11b9cdd2d702e4de3b66ef63aa23f4319b4bc74b
treeb287e996e1a4b0a58a73142885d4906fb056c777
parent7145b20afb3eaf40b3b40b9a191d05d7fd23a4cb
radv: Add mapping between dynamic state mask and external enum.

The EXT values are really large, e.g.
VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT = 1000099000, so 1 << value
is not going to fit into a 32-bit mask.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h