Mesa (master): u_format: float type for R11G11B10_FLOAT/R9G9B9E5_FLOAT

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Sep 12 02:53:49 UTC 2019


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

Author: Jonathan Marek <jonathan at marek.ca>
Date:   Mon Aug 12 16:20:21 2019 -0400

u_format: float type for R11G11B10_FLOAT/R9G9B9E5_FLOAT

Signed-off-by: Jonathan Marek <jonathan at marek.ca>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/gallium/auxiliary/util/u_format.csv | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_format.csv b/src/gallium/auxiliary/util/u_format.csv
index 800f3726cf7..0a840a2c357 100644
--- a/src/gallium/auxiliary/util/u_format.csv
+++ b/src/gallium/auxiliary/util/u_format.csv
@@ -168,8 +168,8 @@ PIPE_FORMAT_G8R8_B8R8_UNORM         , subsampled, 2, 1, 1, x32 ,     ,     ,
 PIPE_FORMAT_R8G8_R8B8_UNORM         , subsampled, 2, 1, 1, x32 ,     ,     ,     , yxz1, rgb
 
 # some special formats not fitting anywhere else
-PIPE_FORMAT_R11G11B10_FLOAT         , other,     1, 1, 1, x32 ,     ,     ,     , xyz1, rgb
-PIPE_FORMAT_R9G9B9E5_FLOAT          , other,     1, 1, 1, x32 ,     ,     ,     , xyz1, rgb
+PIPE_FORMAT_R11G11B10_FLOAT         , other,     1, 1, 1, f11 , f11 , f10 ,     , xyz1, rgb
+PIPE_FORMAT_R9G9B9E5_FLOAT          , other,     1, 1, 1, f9  , f9  , f9  , x5  , xyz1, rgb
 PIPE_FORMAT_R1_UNORM                , other,     8, 1, 1, x8  ,     ,     ,     , x001, rgb
 # A.k.a. D3DFMT_CxV8U8
 PIPE_FORMAT_R8G8Bx_SNORM            , other,     1, 1, 1, sn8 , sn8 ,     ,     , xyz1, rgb




More information about the mesa-commit mailing list