[Mesa-dev] [PATCH 1/2] isl/format: Update the R16G16B16X16_FLOAT entry

Jason Ekstrand jason at jlekstrand.net
Wed Apr 19 03:06:26 UTC 2017


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Tue, Apr 18, 2017 at 4:31 PM, Nanley Chery <nanleychery at gmail.com> wrote:

> The section of the PRM mentioned in the code comment above this table
> says that this format supports the render target write message. Internal
> documentation says that this format also supports alpha blending. As a
> side effect, this allows CCS_D buffers to be created for images with
> this format.
>
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  src/intel/isl/isl_format.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c
> index 0452bf813e..165c7e5b6b 100644
> --- a/src/intel/isl/isl_format.c
> +++ b/src/intel/isl/isl_format.c
> @@ -124,7 +124,7 @@ static const struct surface_format_info format_info[]
> = {
>     SF( x,  x,  x,  x,  x,  x,  Y,  x,  x,    x,  x,  x,   R32G32_SNORM)
>     SF( x,  x,  x,  x,  x,  x,  Y,  x,  x,    x,  x,  x,   R64_FLOAT)
>     SF( Y,  Y,  x,  x,  x,  x,  x,  x,  x,    x,  x,  x,
>  R16G16B16X16_UNORM)
> -   SF( Y,  Y,  x,  x,  x,  x,  x,  x,  x,    x,  x, 90,
>  R16G16B16X16_FLOAT)
> +   SF( Y,  Y,  x,  x, 90, 90,  x,  x,  x,    x,  x, 90,
>  R16G16B16X16_FLOAT)
>     SF( Y, 50,  x,  x,  x,  x,  x,  x,  x,    x,  x,  x,   A32X32_FLOAT)
>     SF( Y, 50,  x,  x,  x,  x,  x,  x,  x,    x,  x,  x,   L32X32_FLOAT)
>     SF( Y, 50,  x,  x,  x,  x,  x,  x,  x,    x,  x,  x,   I32X32_FLOAT)
> --
> 2.12.2
>
> _______________________________________________
> 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/20170418/01781329/attachment.html>


More information about the mesa-dev mailing list