anv: fix allocation of custom border color pool
authorIván Briano <ivan.briano@intel.com>
Tue, 4 Aug 2020 19:59:43 +0000 (12:59 -0700)
committerIván Briano <ivan.briano@intel.com>
Tue, 4 Aug 2020 22:30:33 +0000 (15:30 -0700)
commitd33f46e08b7034dee131bbe42971021a7e3b8b7f
tree9fa72180e127ebf00284cd136359d470281a0b5e
parentfea3e498c31ac2bad0a77d32b4b741998283c5a9
anv: fix allocation of custom border color pool

Turns out that respecting the order of parameters is important.

Reported-by: Michael Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Fixes: 5425968d2e46 ("anv: Implement VK_EXT_custom_border_color")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6175>
src/intel/vulkan/anv_device.c