Mesa (main): mesa/arbprog: Stop doing optimization in the ARB program IR.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jul 16 04:30:59 UTC 2022
Module: Mesa
Branch: main
Commit: c7c265892a5c6025897bf3d474078dbccfecb4a1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7c265892a5c6025897bf3d474078dbccfecb4a1
Author: Emma Anholt <emma at anholt.net>
Date: Wed Jul 13 12:51:14 2022 -0700
mesa/arbprog: Stop doing optimization in the ARB program IR.
You'll get all this and more anyway once you're in NIR. This lets us GC a
bunch more ARB program transformation code.
No effect in shader-db on softpipe.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17528>
---
src/mesa/meson.build | 3 -
src/mesa/program/arbprogparse.c | 3 -
src/mesa/program/prog_opt_constant_fold.c | 314 -------
src/mesa/program/prog_optimize.c | 1334 -----------------------------
src/mesa/program/prog_optimize.h | 54 --
src/mesa/program/program.c | 49 --
src/mesa/program/program.h | 4 -
7 files changed, 1761 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=c7c265892a5c6025897bf3d474078dbccfecb4a1
More information about the mesa-commit
mailing list