nvk: enable sparse residency buffer on maxwell+

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Dave Airlie 2023-07-20 14:52:00 +10:00 committed by Marge Bot
parent 0fe8090bc7
commit 9cb945015c

View file

@ -25,6 +25,7 @@
#include "cla1c0.h"
#include "clb097.h"
#include "clb0c0.h"
#include "clb097.h"
#include "clb197.h"
#include "clb1c0.h"
#include "clc0c0.h"
@ -472,6 +473,7 @@ nvk_get_device_features(const struct nv_device_info *info,
.shaderResourceMinLod = true,
#if NVK_NEW_UAPI == 1
.sparseBinding = true,
.sparseResidencyBuffer = info->cls_eng3d >= MAXWELL_A,
#endif
/* TODO: sparseResidency* */
/* TODO: variableMultisampleRate */