Re: [Mesa-dev] [PATCH 1/2] anv: Advertise support for two more sRGB formats

2017-08-02 Thread Jason Ekstrand
So, it looks like I'll need some blorp patches before we can land this for real. I'll try and cook some up. On Wed, Aug 2, 2017 at 2:35 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > Both are : > > Reviewed-by: Lionel Landwerlin > > > On 02/08/17

Re: [Mesa-dev] [PATCH 1/2] anv: Advertise support for two more sRGB formats

2017-08-02 Thread Lionel Landwerlin
Both are : Reviewed-by: Lionel Landwerlin On 02/08/17 02:16, Jason Ekstrand wrote: Unreal Engine 4 seems to really like VK_FORMAT_R8_SRGB for some reason. We don't technically have the hardware format but we do have L8_SRGB. It's easy enough to fake with that

Re: [Mesa-dev] [PATCH 1/2] anv: Advertise support for two more sRGB formats

2017-08-02 Thread Kenneth Graunke
On Tuesday, August 1, 2017 6:16:31 PM PDT Jason Ekstrand wrote: > Unreal Engine 4 seems to really like VK_FORMAT_R8_SRGB for some reason. > We don't technically have the hardware format but we do have L8_SRGB. > It's easy enough to fake with that and a swizzle. While we're at it, we > may as well

[Mesa-dev] [PATCH 1/2] anv: Advertise support for two more sRGB formats

2017-08-01 Thread Jason Ekstrand
Unreal Engine 4 seems to really like VK_FORMAT_R8_SRGB for some reason. We don't technically have the hardware format but we do have L8_SRGB. It's easy enough to fake with that and a swizzle. While we're at it, we may as well support R8G8_SRGB using L8A8_SRGB. --- src/intel/vulkan/anv_formats.c