radv/rt: Divide by the correct workgroup size
authorFriedrich Vock <friedrich.vock@gmx.de>
Sun, 15 Jan 2023 20:54:50 +0000 (21:54 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sun, 15 Jan 2023 23:33:33 +0000 (23:33 +0000)
commiteab2c3995132f8cd1e3e9ee56eedaf17448aa157
tree6c28d13b94aa6c873a8a94f23809d2ea502cf534
parent0ca325cc1099556f3f755fae8cf6f8a1a019432e
radv/rt: Divide by the correct workgroup size

Improves build performance by around 25%.

Fixes: 9369b407 ("radv: Use PLOC for BVH building")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20717>
src/amd/vulkan/radv_acceleration_structure.c