[Mesa-dev] [PATCH] svga: add new gallium formats to the format conversion table
Marek Olšák
maraeo at gmail.com
Tue Jan 22 19:46:30 UTC 2019
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Sorry for breaking the build.
Marek
On Tue, Jan 22, 2019 at 2:31 PM Brian Paul <brianp at vmware.com> wrote:
> Fixes a static assertion which broke the build.
>
> Fixes:3ee240890 "gallium: add SINT formats to have exact counterparts to
> SNORM formats"
> ---
> src/gallium/drivers/svga/svga_format.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/gallium/drivers/svga/svga_format.c
> b/src/gallium/drivers/svga/svga_format.c
> index cf88e33..d751eb0 100644
> --- a/src/gallium/drivers/svga/svga_format.c
> +++ b/src/gallium/drivers/svga/svga_format.c
> @@ -371,6 +371,10 @@ static const struct vgpu10_format_entry
> format_conversion_table[] =
> { PIPE_FORMAT_X1B5G5R5_UNORM, SVGA3D_FORMAT_INVALID,
> SVGA3D_FORMAT_INVALID, SVGA3D_FORMAT_INVALID, 0 },
> { PIPE_FORMAT_A4B4G4R4_UNORM, SVGA3D_FORMAT_INVALID,
> SVGA3D_FORMAT_INVALID, SVGA3D_FORMAT_INVALID, 0 },
> { PIPE_FORMAT_R8_SRGB, SVGA3D_FORMAT_INVALID,
> SVGA3D_FORMAT_INVALID, SVGA3D_FORMAT_INVALID, 0 },
> + { PIPE_FORMAT_A8L8_SINT, SVGA3D_FORMAT_INVALID,
> SVGA3D_FORMAT_INVALID, SVGA3D_FORMAT_INVALID, 0 },
> + { PIPE_FORMAT_G8R8_SINT, SVGA3D_FORMAT_INVALID,
> SVGA3D_FORMAT_INVALID, SVGA3D_FORMAT_INVALID, 0 },
> + { PIPE_FORMAT_A8B8G8R8_SINT, SVGA3D_FORMAT_INVALID,
> SVGA3D_FORMAT_INVALID, SVGA3D_FORMAT_INVALID, 0 },
> + { PIPE_FORMAT_X8B8G8R8_SINT, SVGA3D_FORMAT_INVALID,
> SVGA3D_FORMAT_INVALID, SVGA3D_FORMAT_INVALID, 0 },
> };
>
>
> --
> 1.8.5.6
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190122/c1619597/attachment.html>
More information about the mesa-dev
mailing list