radv/bvh/meson: Add the option to set defines
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Wed, 11 Jan 2023 20:22:44 +0000 (21:22 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sat, 21 Jan 2023 20:26:41 +0000 (20:26 +0000)
commit13a8a4071a4b70ca3e4ee0f09479906a95922237
tree08f791c0d09ef9121421d047eb8c98e864e5a383
parente4ccd74cbc80e315ec76a5a285c550c23d92f7c5
radv/bvh/meson: Add the option to set defines

This is useful for compiling different variants of the same shader.

Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20656>
src/amd/vulkan/bvh/meson.build
src/amd/vulkan/radv_acceleration_structure.c