Mesa (master): glsl: fix the type of ir_constant_data::u16

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 8 02:29:26 UTC 2020


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

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jul  4 14:01:12 2020 -0400

glsl: fix the type of ir_constant_data::u16

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5746>

---

 src/compiler/glsl/ir.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h
index ca91150b576..e2e46adc855 100644
--- a/src/compiler/glsl/ir.h
+++ b/src/compiler/glsl/ir.h
@@ -2214,7 +2214,7 @@ union ir_constant_data {
       bool b[16];
       double d[16];
       uint16_t f16[16];
-      int16_t u16[16];
+      uint16_t u16[16];
       int16_t i16[16];
       uint64_t u64[16];
       int64_t i64[16];



More information about the mesa-commit mailing list