mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
read-only mirror of https://gitlab.freedesktop.org/mesa/mesa
As the main purpose of this optimization is to transform while- into do-while loops, don't apply on loops which are already in do-while form. Also set nir_loop::do_while after this transformation, so that it is only applied once. Totals from 576 (0.28% of 202440) affected shaders: (Navi48) Instrs: 1337529 -> 1253438 (-6.29%); split: -6.36%, +0.07% CodeSize: 8390852 -> 7837328 (-6.60%); split: -6.61%, +0.01% VGPRs: 50856 -> 50844 (-0.02%) SpillSGPRs: 42198 -> 35395 (-16.12%); split: -16.13%, +0.01% SpillVGPRs: 47608 -> 44620 (-6.28%) Latency: 31043828 -> 44143753 (+42.20%); split: -0.06%, +42.26% InvThroughput: 6973433 -> 10079000 (+44.53%); split: -0.08%, +44.61% VClause: 26839 -> 24718 (-7.90%); split: -7.91%, +0.00% SClause: 21831 -> 21583 (-1.14%); split: -1.52%, +0.38% Copies: 183503 -> 150040 (-18.24%); split: -18.84%, +0.61% Branches: 27738 -> 26848 (-3.21%); split: -5.12%, +1.91% PreSGPRs: 40233 -> 39083 (-2.86%); split: -2.88%, +0.02% PreVGPRs: 38745 -> 38903 (+0.41%); split: -0.02%, +0.43% VALU: 688396 -> 645948 (-6.17%); split: -6.17%, +0.01% SALU: 189792 -> 177642 (-6.40%); split: -6.97%, +0.57% VMEM: 121500 -> 112748 (-7.20%) SMEM: 38765 -> 37767 (-2.57%); split: -2.58%, +0.00% VOPD: 102488 -> 89071 (-13.09%); split: +0.24%, -13.33% Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40349> |
||
|---|---|---|
| .ci-farms | ||
| .ci-farms-disabled | ||
| .github/workflows | ||
| .gitlab | ||
| .gitlab-ci | ||
| .marge/hooks | ||
| android | ||
| bin | ||
| build-support | ||
| docs | ||
| include | ||
| licenses | ||
| src | ||
| subprojects | ||
| .clang-format | ||
| .clang-format-ignore | ||
| .clang-format-include | ||
| .dir-locals.el | ||
| .editorconfig | ||
| .git-blame-ignore-revs | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .graphqlrc.yml | ||
| .mailmap | ||
| .mr-label-maker.yml | ||
| .shellcheckrc | ||
| clippy.toml | ||
| CODEOWNERS | ||
| meson.build | ||
| meson.options | ||
| README.rst | ||
| rustfmt.toml | ||
| VERSION | ||
`Mesa <https://mesa3d.org>`_ - The 3D Graphics Library ====================================================== Source ------ This repository lives at https://gitlab.freedesktop.org/mesa/mesa. Other repositories are likely forks, and code found there is not supported. Build & install --------------- You can find more information in our documentation (`docs/install.rst <https://docs.mesa3d.org/install.html>`_), but the recommended way is to use Meson (`docs/meson.rst <https://docs.mesa3d.org/meson.html>`_): .. code-block:: sh $ meson setup build $ ninja -C build/ $ sudo ninja -C build/ install Support ------- Many Mesa devs hang on IRC; if you're not sure which channel is appropriate, you should ask your question on `OFTC's #dri-devel <irc://irc.oftc.net/dri-devel>`_, someone will redirect you if necessary. Remember that not everyone is in the same timezone as you, so it might take a while before someone qualified sees your question. To figure out who you're talking to, or which nick to ping for your question, check out `Who's Who on IRC <https://dri.freedesktop.org/wiki/WhosWho/>`_. The next best option is to ask your question in an email to the mailing lists: `mesa-dev\@lists.freedesktop.org <https://lists.freedesktop.org/mailman/listinfo/mesa-dev>`_ Bug reports ----------- If you think something isn't working properly, please file a bug report (`docs/bugs.rst <https://docs.mesa3d.org/bugs.html>`_). Contributing ------------ Contributions are welcome, and step-by-step instructions can be found in our documentation (`docs/submittingpatches.rst <https://docs.mesa3d.org/submittingpatches.html>`_). Note that Mesa uses gitlab for patches submission, review and discussions.