nvk: Advertise shaderOutputLayer and shaderOutputViewportIndex

We already advertise the extension but it's moved into feature bits in
Vulkan 1.2 and we didn't have those turned on.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25812>
This commit is contained in:
Faith Ekstrand
2023-10-19 07:27:45 -05:00
committed by Marge Bot
parent 18af014f7c
commit 075219e58f

View File

@@ -240,6 +240,8 @@ nvk_get_device_features(const struct nv_device_info *info,
.bufferDeviceAddress = true,
.bufferDeviceAddressCaptureReplay = false,
.bufferDeviceAddressMultiDevice = false,
.shaderOutputViewportIndex = info->cls_eng3d >= MAXWELL_B,
.shaderOutputLayer = info->cls_eng3d >= MAXWELL_B,
/* Vulkan 1.3 */
.robustImageAccess = true,