Re: [Mesa-dev] [PATCH v3 1/2] anv/formats: Update the three-channel BC1 mappings

2017-05-18 Thread Kenneth Graunke
Both patches are: Reviewed-by: Kenneth Graunke signature.asc Description: This is a digitally signed message part. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v3 1/2] anv/formats: Update the three-channel BC1 mappings

2017-05-18 Thread Nanley Chery
+Ken On Tue, May 16, 2017 at 10:17:11AM -0700, Nanley Chery wrote: > The procedure for decompressing an opaque BC1 Vulkan format is dependant on > the > comparison of two colors stored in the first 32 bits of the compressed block. > Here's the specified OpenGL (and Vulkan) behavior for reference:

[Mesa-dev] [PATCH v3 1/2] anv/formats: Update the three-channel BC1 mappings

2017-05-16 Thread Nanley Chery
The procedure for decompressing an opaque BC1 Vulkan format is dependant on the comparison of two colors stored in the first 32 bits of the compressed block. Here's the specified OpenGL (and Vulkan) behavior for reference: The RGB color for a texel at location (x,y) in the block is given by: