b6fba15bd7cc1ebb072176cb3b5fa1e9a7370c06
fneg and fabs are folded later in ppir, but having them in nir as a separate instructions prevents duplicate_intrinsics pass from duplicating load_input and load_uniform. Duplicate fneg and fabs, so subsequent duplicate_intrinsic pass can duplicate the loads shader-db: total instructions in shared programs: 27698 -> 27675 (-0.08%) instructions in affected programs: 2752 -> 2729 (-0.84%) helped: 21 HURT: 2 helped stats (abs) min: 1 max: 4 x̄: 1.19 x̃: 1 helped stats (rel) min: 0.38% max: 6.67% x̄: 2.75% x̃: 0.75% HURT stats (abs) min: 1 max: 1 x̄: 1.00 x̃: 1 HURT stats (rel) min: 1.89% max: 1.89% x̄: 1.89% x̃: 1.89% 95% mean confidence interval for instructions value: -1.39 -0.61 95% mean confidence interval for instructions %-change: -3.67% -1.03% Instructions are helped. total loops in shared programs: 2 -> 2 (0.00%) loops in affected programs: 0 -> 0 helped: 0 HURT: 0 total spills in shared programs: 372 -> 368 (-1.08%) spills in affected programs: 27 -> 23 (-14.81%) helped: 4 HURT: 0 total fills in shared programs: 1224 -> 1205 (-1.55%) fills in affected programs: 81 -> 62 (-23.46%) helped: 4 HURT: 0 LOST: 0 GAINED: 0 Reviewed-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33569>
`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.
Description
Languages
C
75.5%
C++
17.2%
Python
2.7%
Rust
1.8%
Assembly
1.5%
Other
1%