ac/nir: Don't count vertices and primitives in wave after culling.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 15 Jul 2021 12:37:39 +0000 (14:37 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 2 Aug 2021 11:38:25 +0000 (11:38 +0000)
commit4b540aef2cf837f1f6e31bf96f09f7b3f7df7f3d
treed3958c8fee6aed1d6fc41bb534cf2ca45caab5de
parenta2d02c0c11009a7018e9760ed44d38131ccfd195
ac/nir: Don't count vertices and primitives in wave after culling.

These are not needed anymore, because the EXEC mask doesn't depend on them.

Fossil DB results on Sienna Cichlid (with NGGC on):

Totals from 58239 (45.27% of 128647) affected shaders:
Latency: 138113669 -> 138285372 (+0.12%)
InvThroughput: 22404840 -> 22405245 (+0.00%)

No Fossil DB changes with NGGC off.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11908>
src/amd/common/ac_nir_lower_ngg.c