mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
read-only mirror of https://gitlab.freedesktop.org/mesa/mesa
If the only user is a trivial bcsel which in a second step can be turned into a phi, this conversion is also worth it even if the previous result is not undefined or constant. Allows for some more loop unrolling or saves a few instructions. Totals from 62 (0.04% of 139391) affected shaders (NAVI10): SGPRs: 4976 -> 4992 (+0.32%) VGPRs: 4408 -> 4472 (+1.45%); split: -0.45%, +1.91% CodeSize: 453632 -> 464000 (+2.29%); split: -0.32%, +2.60% MaxWaves: 527 -> 511 (-3.04%); split: +0.38%, -3.42% Instrs: 84940 -> 86681 (+2.05%); split: -0.36%, +2.41% Cycles: 11946844 -> 11783708 (-1.37%); split: -1.40%, +0.04% VMEM: 9403 -> 10357 (+10.15%); split: +11.59%, -1.45% SMEM: 3003 -> 3025 (+0.73%); split: +1.07%, -0.33% VClause: 1756 -> 1997 (+13.72%); split: -0.11%, +13.84% SClause: 2914 -> 2915 (+0.03%); split: -0.10%, +0.14% Copies: 6426 -> 6768 (+5.32%); split: -4.14%, +9.46% Branches: 2105 -> 2102 (-0.14%); split: -1.66%, +1.52% PreSGPRs: 2921 -> 2909 (-0.41%); split: -0.55%, +0.14% PreVGPRs: 4151 -> 4179 (+0.67%); split: -0.24%, +0.92% cc: mesa-stable Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8123> |
||
|---|---|---|
| .appveyor | ||
| .gitlab/issue_templates | ||
| .gitlab-ci | ||
| bin | ||
| build-support | ||
| docs | ||
| doxygen | ||
| include | ||
| scons | ||
| src | ||
| subprojects | ||
| .dir-locals.el | ||
| .editorconfig | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .mailmap | ||
| .travis.yml | ||
| Android.common.mk | ||
| Android.mk | ||
| appveyor.yml | ||
| CleanSpec.mk | ||
| common.py | ||
| meson.build | ||
| meson_options.txt | ||
| README.rst | ||
| REVIEWERS | ||
| SConstruct | ||
| 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://mesa3d.org/install.html>`_), but the recommended way is to use Meson (`docs/meson.rst <https://mesa3d.org/meson.html>`_): .. code-block:: sh $ mkdir build $ cd build $ meson .. $ sudo ninja install Support ------- Many Mesa devs hang on IRC; if you're not sure which channel is appropriate, you should ask your question on `Freenode's #dri-devel <irc://chat.freenode.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://mesa3d.org/bugs.html>`_). Contributing ------------ Contributions are welcome, and step-by-step instructions can be found in our documentation (`docs/submittingpatches.rst <https://mesa3d.org/submittingpatches.html>`_). Note that Mesa uses gitlab for patches submission, review and discussions.