Mesa (master): lavapipe: fix missing protected memory properties
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 7 20:18:45 UTC 2021
Module: Mesa
Branch: master
Commit: 8a18ed018b4b64ff89f6c537638e70374976ed21
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a18ed018b4b64ff89f6c537638e70374976ed21
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Mar 18 08:54:43 2021 +1000
lavapipe: fix missing protected memory properties
This is needed for vk 1.1
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9645>
---
src/gallium/frontends/lavapipe/lvp_device.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c
index 2d0ff18ead9..aeb0a371355 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -881,6 +881,12 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceProperties2(
CORE_PROPERTY(1, 1, deviceLUIDValid);
break;
}
+ case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: {
+ VkPhysicalDeviceProtectedMemoryProperties *properties =
+ (VkPhysicalDeviceProtectedMemoryProperties *)ext;
+ CORE_PROPERTY(1, 1, protectedNoFault);
+ break;
+ }
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT: {
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT *properties =
(VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT *)ext;
More information about the mesa-commit
mailing list