radv: Add utility function to calculate max waves.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 1 Jun 2019 16:46:21 +0000 (18:46 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 12 Aug 2019 21:00:24 +0000 (23:00 +0200)
commit290ca0c4dd1506f83b59a0f529546180340a4ce5
treee0d6276806dd277aa7642131711a333624d5cc6e
parent026773397b1e64e95ad04e271a2de70453672424
radv: Add utility function to calculate max waves.

Not AC because a lot of it is data extraction out of radv structs.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h