d0f8fe5909107aa342f62813ced9ce535ed6da32

This causes our TGSI to use far more temps, since NTT is currently not releasing temps from registers. On the other hand, this interpreter is already spectacularly slow, and if we wanted to go fast we should probably write a scalar NIR intrepeter. For now, using NTT means that we test that codepath in preparation for switching TGSI-consuming HW drivers over, so that we can eventually garbage collect st_glsl_to_tgsi. As this is a major restructuring, there are some impacts on piglit: - Several tests start assert failing about 64-bit NIR registers for temp arrays not getting split to vec2s: - fs-frexp-dvec4-variable-index.shader_test - arb_gpu_shader_fp64/uniform_buffers/{vs,fs,gs}-array-copy.shader_test - arb_gpu_shader_int64/execution/indirect-array-two-accesses.shader_test - dEQP-GLES31.functional.primitive_bounding_box.wide_points.global_state.vertex_geometry_fragment.fbo_bbox_larger starts crashing depending on various bits of state (previous tests run before it, presence of valgrind, presence of glib's memcheck). Doesn't seem really NTT-specific, added to flakes list with other GS flakes. - Almost 200 fp64/int64-related tests start passing, mostly around i/o loayout. shader-db: total instructions in shared programs: 3492656 -> 3081674 (-11.77%) total loops in shared programs: 1418 -> 1387 (-2.19%) total temps in shared programs: 340041 -> 615527 (81.02%) total const in shared programs: 3158970 -> 1528630 (-51.61%) total imm in shared programs: 117586 -> 101349 (-13.81%) Total CPU time (seconds): 430.36 -> 900.94 (109.35%) FPS results: glmark2 texture +7.32484% +/- 3.76528% (n=10) glmark2 desktop:effect=shadow +20% +/- 0% (n=10) glmark2 shadow +6.49351% +/- 3.65335% (n=7) glmark2 conditionals +18.75% +/- 2.74658% (n=9) Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3395>
`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.
Description
Languages
C
75.3%
C++
18.2%
Python
2.7%
Assembly
1.5%
Rust
1.2%
Other
0.9%