Mesa (master): gallium/ntt: Drop XXX comment about supporting carry opcodes.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 8 22:47:45 UTC 2021


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

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Dec 10 12:08:13 2020 -0800

gallium/ntt: Drop XXX comment about supporting carry opcodes.

The GLSL-to-NIR path didn't do carry, so we don't need to.

Reviewed-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8373>

---

 src/gallium/auxiliary/nir/nir_to_tgsi.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/auxiliary/nir/nir_to_tgsi.c b/src/gallium/auxiliary/nir/nir_to_tgsi.c
index da74b2d666b..ea1a8a548d5 100644
--- a/src/gallium/auxiliary/nir/nir_to_tgsi.c
+++ b/src/gallium/auxiliary/nir/nir_to_tgsi.c
@@ -815,8 +815,6 @@ ntt_emit_alu(struct ntt_compile *c, nir_alu_instr *instr)
          ureg_UADD(c->ureg, dst, src[0], ureg_negate(src[1]));
          break;
 
-         /* XXX: carry */
-
       case nir_op_fmod:
          unreachable("should be handled by .lower_fmod = true");
          break;



More information about the mesa-commit mailing list