anv,hasvk: move the null check into the function call and drop null check copies
authorRohan Garg <rohan.garg@intel.com>
Wed, 7 Dec 2022 16:23:03 +0000 (17:23 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 6 Jan 2023 17:22:16 +0000 (17:22 +0000)
commit85650297d23b7b67293a23c31330569049fab594
tree56a8fd991f608a515ed5914595087fa41d5089b8
parent0ae23b81a4417fd69933e057be31596a75071509
anv,hasvk: move the null check into the function call and drop null check copies

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20104>
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan_hasvk/genX_cmd_buffer.c