radv: add an assertion in radv_gfx10_compute_bin_size()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 21 Oct 2019 08:40:23 +0000 (10:40 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 23 Oct 2019 06:33:12 +0000 (08:33 +0200)
commit411ad8e7c5973f58cdc94d5ce45df21c7b994f52
tree61d02b50be33baaa0cf956277f79a59caef31dc1
parentf4ab58c1a07c58525018649573ffff92eb3ccf19
radv: add an assertion in radv_gfx10_compute_bin_size()

To prevent out of bounds access.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c