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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user