mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 07:20:19 +01:00
The previous code checked all_w_positive in the if condition. Instead, always execute the bbox culling code and include all_w_positive at the end. We assume checking in the if is not beneficial because it's very unlikely that there is no primitive in a wave whose W are not all positive. This allows moving other things to the condition in the next commit. Fossil DB stats on Navi 21: Totals from 60918 (45.16% of 134906) affected shaders: CodeSize: 160574204 -> 160330564 (-0.15%); split: -0.15%, +0.00% Instrs: 30538297 -> 30477385 (-0.20%); split: -0.20%, +0.00% Latency: 139810902 -> 139802763 (-0.01%); split: -0.01%, +0.00% InvThroughput: 21198449 -> 21198444 (-0.00%); split: -0.00%, +0.00% SClause: 749810 -> 749811 (+0.00%) Copies: 2701474 -> 2701482 (+0.00%); split: -0.00%, +0.00% Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17870> |
||
|---|---|---|
| .. | ||
| amd | ||
| android_stub | ||
| asahi | ||
| broadcom | ||
| c11 | ||
| compiler | ||
| drm-shim | ||
| egl | ||
| etnaviv | ||
| freedreno | ||
| gallium | ||
| gbm | ||
| getopt | ||
| glx | ||
| gtest | ||
| hgl | ||
| imagination | ||
| imgui | ||
| intel | ||
| loader | ||
| mapi | ||
| mesa | ||
| microsoft | ||
| nouveau | ||
| panfrost | ||
| tool | ||
| util | ||
| virtio | ||
| vulkan | ||
| meson.build | ||