Mesa (master): util,gallium: Add new 64-bit integer formats

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 9 17:35:47 UTC 2020


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

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Mar 17 16:55:40 2020 -0500

util,gallium: Add new 64-bit integer formats

Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7509>

---

 src/gallium/include/pipe/p_format.h | 3 +++
 src/util/format/u_format.csv        | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h
index b39695a6198..7c62b722e5d 100644
--- a/src/gallium/include/pipe/p_format.h
+++ b/src/gallium/include/pipe/p_format.h
@@ -294,6 +294,9 @@ enum pipe_format {
    PIPE_FORMAT_R32G32B32_SINT,
    PIPE_FORMAT_R32G32B32A32_SINT,
 
+   PIPE_FORMAT_R64_UINT,
+   PIPE_FORMAT_R64_SINT,
+
    PIPE_FORMAT_A8_UINT,
    PIPE_FORMAT_I8_UINT,
    PIPE_FORMAT_L8_UINT,
diff --git a/src/util/format/u_format.csv b/src/util/format/u_format.csv
index 3209b42e1c3..8acfb869bdb 100644
--- a/src/util/format/u_format.csv
+++ b/src/util/format/u_format.csv
@@ -447,6 +447,9 @@ PIPE_FORMAT_R32G32_SINT             , plain, 1, 1, 1, sp32, sp32, , , xy01, rgb
 PIPE_FORMAT_R32G32B32_SINT          , plain, 1, 1, 1, sp32, sp32, sp32, , xyz1, rgb
 PIPE_FORMAT_R32G32B32A32_SINT       , plain, 1, 1, 1, sp32, sp32, sp32, sp32, xyzw, rgb
 
+PIPE_FORMAT_R64_UINT                , plain, 1, 1, 1, up64, , , , x001, rgb
+PIPE_FORMAT_R64_SINT                , plain, 1, 1, 1, sp64, , , , x001, rgb
+
 PIPE_FORMAT_A8_UINT                 , plain, 1, 1, 1, up8, , , , 000x, rgb
 PIPE_FORMAT_I8_UINT                 , plain, 1, 1, 1, up8, , , , xxxx, rgb
 PIPE_FORMAT_L8_UINT                 , plain, 1, 1, 1, up8, , , , xxx1, rgb



More information about the mesa-commit mailing list