mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
read-only mirror of https://gitlab.freedesktop.org/mesa/mesa
Before this change we used a dummy load_uniform to represent texcoord scale. That dummy load was converted to a load_const where we are using the upper 32 bits to store the uniform content type and that breaks nir's validation. With the new nir_intrinsic_load_texture_scaling we know the uniform type and do not need to go from load_ubo->load_const (with type information). shader-db for GC3000: instructions helped: shaders/tesseract/491.shader_test FRAG: 260 -> 248 (-4.62%) instructions helped: shaders/tesseract/494.shader_test FRAG: 256 -> 244 (-4.69%) instructions helped: shaders/tesseract/238.shader_test FRAG: 244 -> 232 (-4.92%) instructions helped: shaders/tesseract/241.shader_test FRAG: 244 -> 232 (-4.92%) instructions helped: shaders/tesseract/127.shader_test FRAG: 80 -> 76 (-5.00%) instructions helped: shaders/tesseract/130.shader_test FRAG: 156 -> 148 (-5.13%) instructions helped: shaders/tesseract/226.shader_test FRAG: 204 -> 192 (-5.88%) instructions helped: shaders/tesseract/229.shader_test FRAG: 204 -> 192 (-5.88%) instructions helped: shaders/tesseract/217.shader_test FRAG: 164 -> 152 (-7.32%) instructions helped: shaders/tesseract/214.shader_test FRAG: 164 -> 152 (-7.32%) instructions helped: shaders/tesseract/205.shader_test FRAG: 124 -> 112 (-9.68%) instructions helped: shaders/tesseract/202.shader_test FRAG: 124 -> 112 (-9.68%) instructions helped: shaders/tesseract/169.shader_test FRAG: 36 -> 32 (-11.11%) instructions helped: shaders/tesseract/166.shader_test FRAG: 36 -> 32 (-11.11%) instructions helped: shaders/tesseract/118.shader_test FRAG: 32 -> 28 (-12.50%) instructions helped: shaders/tesseract/181.shader_test FRAG: 60 -> 52 (-13.33%) instructions helped: shaders/tesseract/178.shader_test FRAG: 60 -> 52 (-13.33%) instructions helped: shaders/tesseract/121.shader_test FRAG: 60 -> 52 (-13.33%) instructions helped: shaders/tesseract/193.shader_test FRAG: 84 -> 72 (-14.29%) instructions helped: shaders/tesseract/190.shader_test FRAG: 84 -> 72 (-14.29%) temps HURT: shaders/tesseract/494.shader_test FRAG: 6 -> 7 (16.67%) temps HURT: shaders/tesseract/491.shader_test FRAG: 6 -> 7 (16.67%) total instructions in shared programs: 1122112 -> 1121920 (-0.02%) instructions in affected programs: 2676 -> 2484 (-7.17%) helped: 20 HURT: 0 helped stats (abs) min: 4 max: 12 x̄: 9.60 x̃: 12 helped stats (rel) min: 4.62% max: 14.29% x̄: 8.92% x̃: 8.50% 95% mean confidence interval for instructions value: -11.14 -8.06 95% mean confidence interval for instructions %-change: -10.65% -7.18% Instructions are helped. total temps in shared programs: 86942 -> 86944 (<.01%) temps in affected programs: 12 -> 14 (16.67%) helped: 0 HURT: 2 total immediates in shared programs: 141216 -> 141216 (0.00%) immediates in affected programs: 0 -> 0 helped: 0 HURT: 0 total loops in shared programs: 0 -> 0 loops in affected programs: 0 -> 0 helped: 0 HURT: 0 LOST: 0 GAINED: 0 Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8898> |
||
|---|---|---|
| .appveyor | ||
| .gitlab/issue_templates | ||
| .gitlab-ci | ||
| bin | ||
| build-support | ||
| ci-expects | ||
| 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.