radv: Simplify some boolean code in radv_get_preamble_cs.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 5 May 2022 16:58:34 +0000 (18:58 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Tue, 10 May 2022 08:19:34 +0000 (10:19 +0200)
commit1154ee73c1488790ea3204356c1edab5c1780273
tree3c27493bc4cba2c31b0e51313bae45de1b373bc3
parent0f66ff242770ba3661e18942331be7bce293b9b5
radv: Simplify some boolean code in radv_get_preamble_cs.

Hopefully this will make it easier to read and understand.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-By: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16358>
src/amd/vulkan/radv_device.c