radv: assert that the arg is declared when used in get_scalar_arg()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 7 Apr 2022 09:47:45 +0000 (11:47 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Apr 2022 06:40:52 +0000 (06:40 +0000)
commitace073eb0b42398cd08c2b4a05ee7c7c0a87f569
tree4404b19000210f6b9dafaf641d62ba99a9dd00da
parenta0f3839ce82d4cab7a0dd10683c1aad2d82e3a5f
radv: assert that the arg is declared when used in get_scalar_arg()

Help debugging.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15789>
src/amd/vulkan/radv_nir_apply_pipeline_layout.c