mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 17:38:08 +02:00
These patterns need is_only_used_as_float because fmin/fmax might change NaN patterns, while bcsel is bit exact. For the same reason, the replacement must not add undefined results, so make the replacement NaN/inf preserving. It's impossible to make them signed zero correct (-0.0 == +0.0), so it's also important that the user alu doesn't care. Otherwise, the only thing that matters is is whether a is NaN. Foz-DB Navi48: Totals from 453 (0.55% of 82405) affected shaders: MaxWaves: 8242 -> 8270 (+0.34%) Instrs: 2382059 -> 2380094 (-0.08%); split: -0.09%, +0.00% CodeSize: 13197208 -> 13179488 (-0.13%); split: -0.14%, +0.00% VGPRs: 44688 -> 44604 (-0.19%) Latency: 22839894 -> 22838985 (-0.00%); split: -0.01%, +0.00% InvThroughput: 4873352 -> 4872924 (-0.01%) VClause: 50862 -> 50883 (+0.04%); split: -0.02%, +0.06% SClause: 54000 -> 53993 (-0.01%) Copies: 250215 -> 250233 (+0.01%); split: -0.00%, +0.01% PreVGPRs: 39694 -> 39620 (-0.19%) VALU: 1116881 -> 1116073 (-0.07%); split: -0.07%, +0.00% SALU: 492799 -> 492139 (-0.13%); split: -0.14%, +0.00% VOPD: 85457 -> 85461 (+0.00%) Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39641> |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| c11 | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| gfxstream | ||
| glx | ||
| gtest | ||
| imagination | ||
| imgui | ||
| intel | ||
| kosmickrisp | ||
| loader | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| poly | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| x11 | ||
| .clang-format | ||
| meson.build | ||