radv: Support NGG culling with new perftest environment variable.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 8 Jun 2021 10:32:35 +0000 (12:32 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Jul 2021 23:56:33 +0000 (23:56 +0000)
commitf30e4351de2f562955435a04cf75dd641639d31c
tree668a704123a1473db3ac098030a532ce516c336d
parent182d9b1e6072bec190cf0a52e9d93dbbdbaa850d
radv: Support NGG culling with new perftest environment variable.

Currently we don't enable it on any chip by default, but
we plan to enable it soon on GFX10.3 when we are comfortable
with its performance.

RADV_PERFTEST=nggc environment variable enables it on GFX10+ GPUs.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10525>
docs/envvars.rst
docs/relnotes/new_features.txt
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h