Mesa (master): aco: read 0 from inactive lanes when using dpp

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 13 14:40:50 UTC 2020


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

Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Mon Jun 29 19:48:54 2020 +0100

aco: read 0 from inactive lanes when using dpp

Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5695>

---

 src/amd/compiler/aco_opcodes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/compiler/aco_opcodes.py b/src/amd/compiler/aco_opcodes.py
index bee3186ebae..551fba81377 100644
--- a/src/amd/compiler/aco_opcodes.py
+++ b/src/amd/compiler/aco_opcodes.py
@@ -129,7 +129,7 @@ class Format(Enum):
          return [('uint16_t', 'dpp_ctrl', None),
                  ('uint8_t', 'row_mask', '0xF'),
                  ('uint8_t', 'bank_mask', '0xF'),
-                 ('bool', 'bound_ctrl', 'false')]
+                 ('bool', 'bound_ctrl', 'true')]
       elif self in [Format.FLAT, Format.GLOBAL, Format.SCRATCH]:
          return [('uint16_t', 'offset', 0),
                  ('bool', 'can_reorder', 'true'),



More information about the mesa-commit mailing list