diff options
author | Jason Ekstrand <[email protected]> | 2019-03-12 15:22:19 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-03-13 17:58:27 -0500 |
commit | 13099d4490a7445f370b3f895c2eb082cd7e2f0a (patch) | |
tree | a62e5438c80bc416ec79ec50720fa48d433a8a10 /src/intel/vulkan/anv_pass.c | |
parent | d6dc68e7b5b6f76a55037f6995dad101cc089d02 (diff) |
anv: Stop using VK_TRUE/FALSE
We've been fairly inconsistent about this so we should really choose
whether we're going to use VK_TRUE/FALSE or the C boolean values. The
Vulkan #defines are set to 1 and 0 respectively so it's the same value
as C gives you when you cast a boolean expression to an integer. Since
there are several places where we set a VkBool32 to a C logical
expression, let's just embrace C booleans and stop using the VK defines.
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_pass.c')
0 files changed, 0 insertions, 0 deletions