Mesa (master): isl/format: Update the R16G16B16X16_FLOAT entry

Nanley Chery nchery at kemper.freedesktop.org
Mon Apr 24 20:36:08 UTC 2017


Module: Mesa
Branch: master
Commit: 50134cede1eee1222c1a28022b42b2177f7379c2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=50134cede1eee1222c1a28022b42b2177f7379c2

Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Mon Mar  6 14:55:34 2017 -0800

isl/format: Update the R16G16B16X16_FLOAT entry

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.

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
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)




More information about the mesa-commit mailing list