Module: Mesa Branch: master Commit: 8a18ed018b4b64ff89f6c537638e70374976ed21 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8a18ed018b4b64ff89f6c537638e70374976ed21
Author: Dave Airlie <[email protected]> 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 <[email protected]> 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
