Mesa (main): glsl: remove the now unused GLSL IR loop unrolling code

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jun 4 16:47:33 UTC 2022


Module: Mesa
Branch: main
Commit: 5aec67a1e1e3650a643db34be00980b4de5986cf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5aec67a1e1e3650a643db34be00980b4de5986cf

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Fri May  6 12:28:33 2022 +1000

glsl: remove the now unused GLSL IR loop unrolling code

This code was slow, buggy and hard to understand. All drivers
have now switched to using the NIR unrolling code \o/

Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16366>

---

 src/compiler/glsl/glsl_parser_extras.cpp     |  32 -
 src/compiler/glsl/loop_analysis.cpp          | 856 ---------------------------
 src/compiler/glsl/loop_analysis.h            | 244 --------
 src/compiler/glsl/loop_unroll.cpp            | 590 ------------------
 src/compiler/glsl/meson.build                |   3 -
 src/compiler/glsl/standalone.cpp             |   1 -
 src/compiler/glsl/standalone_scaffolding.cpp |   1 -
 src/mesa/main/consts_exts.h                  |   2 -
 src/mesa/main/shaderapi.c                    |   1 -
 src/mesa/state_tracker/st_context.c          |   6 -
 10 files changed, 1736 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=5aec67a1e1e3650a643db34be00980b4de5986cf


More information about the mesa-commit mailing list