radv: Fix handling of attribs 16-31.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 8 Aug 2020 22:51:15 +0000 (00:51 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 18 Aug 2020 18:31:21 +0000 (20:31 +0200)
commitf038b3a136175c0afcc6545b886238a7b5dcf515
treeab09e56722d7756d14040ae6a87289db52c40b5f
parent0067f8992002b44bf75f98fae43886c5a6227075
radv: Fix handling of attribs 16-31.

We really need to update the enum for consistency, but that involves
a bunch of GL & bitfield work which is error-prone, so since this is
a fix for stable lets do the simple things.

Confirmed that nothing in radv/aco/nir/spirv uses MAX_VERT_ATTRIB
except the one thing I bumped.

CC: mesa-stable
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6120>
src/amd/vulkan/radv_shader.h
src/amd/vulkan/radv_shader_info.c