328f74fb44
NGG culling depends on the number of FS input reads but this can be unknown with GPL/ESO when VS/TES are compiled separately. While VS has a prolog most of the time, TES might incorrectly enable NGG culling because the number of FS inputs was considered to be zero. To fix that, consider the number of FS input reads to be the maximum possible value when the FS is unknown to implicitly disable NGG culling. This fixes a bunch of tess related flakes with Zink/ESO/RADV on RDNA2. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28293>