[Mesa-dev] [PATCH 01/11] gallium: add P016 format
Emil Velikov
emil.l.velikov at gmail.com
Mon Mar 13 10:33:44 UTC 2017
Hi Christian,
On 8 March 2017 at 12:29, Christian König <deathsimple at vodafone.de> wrote:
> From: Christian König <christian.koenig at amd.com>
>
> Same layout as NV12, but 16bit per channel instead of 8.
> --- a/src/gallium/include/pipe/p_format.h
> +++ b/src/gallium/include/pipe/p_format.h
> @@ -389,6 +389,8 @@ enum pipe_format {
> PIPE_FORMAT_ASTC_12x10_SRGB = 305,
> PIPE_FORMAT_ASTC_12x12_SRGB = 306,
>
> + PIPE_FORMAT_P016 = 307,
> +
This piece seems to be breaking svga [other?], with the gist as below.
Can you take a quick look please ?
../../../../../src/gallium/drivers/svga/svga_format.c: In function
'check_format_tables':
../../../../../src/gallium/drivers/svga/svga_format.c:1842:7: error:
size of unnamed array is negative
STATIC_ASSERT(ARRAY_SIZE(format_conversion_table) == PIPE_FORMAT_COUNT);
-Emil
More information about the mesa-dev
mailing list