Re: [Mesa-dev] [PATCH 1/2] vulkan/util: Introduce format utilities

2017-06-28 Thread Alexandros Frantzis
On Tue, Jun 27, 2017 at 04:29:23PM -0700, Chad Versace wrote: > On Fri 23 Jun 2017, alexandros.frant...@collabora.com wrote: > > From: Alexandros Frantzis > > > > Introduce utilities to describe, find and compare Vulkan formats based > > on their color component masks, taking into account system

Re: [Mesa-dev] [PATCH 1/2] vulkan/util: Introduce format utilities

2017-06-27 Thread Dave Airlie
> > > Drive-by: Yes, I agree that this doesn't match Vulkan particularly well. > It's a very X11 or drm_fourcc way of described formats and is nothing like > anything else we have in mesa. That doesn't mean it's strictly wrong, just > that it's awkward to people who are used to some of the other m

Re: [Mesa-dev] [PATCH 1/2] vulkan/util: Introduce format utilities

2017-06-27 Thread Jason Ekstrand
On Tue, Jun 27, 2017 at 4:29 PM, Chad Versace wrote: > On Fri 23 Jun 2017, alexandros.frant...@collabora.com wrote: > > From: Alexandros Frantzis > > > > Introduce utilities to describe, find and compare Vulkan formats based > > on their color component masks, taking into account system endianne

Re: [Mesa-dev] [PATCH 1/2] vulkan/util: Introduce format utilities

2017-06-27 Thread Chad Versace
On Fri 23 Jun 2017, alexandros.frant...@collabora.com wrote: > From: Alexandros Frantzis > > Introduce utilities to describe, find and compare Vulkan formats based > on their color component masks, taking into account system endianness. > --- > src/vulkan/Makefile.sources | 2 + > src/vul

[Mesa-dev] [PATCH 1/2] vulkan/util: Introduce format utilities

2017-06-23 Thread alexandros . frantzis
From: Alexandros Frantzis Introduce utilities to describe, find and compare Vulkan formats based on their color component masks, taking into account system endianness. --- src/vulkan/Makefile.sources | 2 + src/vulkan/util/vk_format_util.c | 173 +++ sr