Re: [Mesa-dev] [PATCH] anv: Stop using VK_TRUE/FALSE

2019-03-13 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 12/03/2019 20:24, Jason Ekstrand wrote: 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

Re: [Mesa-dev] [PATCH] anv: Stop using VK_TRUE/FALSE

2019-03-12 Thread Samuel Iglesias Gonsálvez
Reviewed-by: Samuel Iglesias Gonsálvez Sam On Tue, 2019-03-12 at 15:24 -0500, Jason Ekstrand wrote: > 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

[Mesa-dev] [PATCH] anv: Stop using VK_TRUE/FALSE

2019-03-12 Thread Jason Ekstrand
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 severa