[Mesa-dev] [PATCH] anv: Add support for protected memory properties on anv_GetPhysicalDeviceProperties2()
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Fri Aug 24 11:16:48 UTC 2018
On 24/08/2018 12:09, Samuel Iglesias Gonsálvez wrote:
> VkPhysicalDeviceProtectedMemoryProperties structure is new on Vulkan 1.1.
>
> Fixes Vulkan CTS CL#2849.
>
> Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> ---
> src/intel/vulkan/anv_device.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
> index d85615caaed..4cb9cc453e6 100644
> --- a/src/intel/vulkan/anv_device.c
> +++ b/src/intel/vulkan/anv_device.c
> @@ -1158,6 +1158,13 @@ void anv_GetPhysicalDeviceProperties2(
> break;
> }
>
> + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: {
> + VkPhysicalDeviceProtectedMemoryProperties *props =
> + (VkPhysicalDeviceProtectedMemoryProperties *)ext;
> + props->protectedNoFault = false;
> + break;
> + }
> +
> default:
> anv_debug_ignored_stype(ext->sType);
> break;
More information about the mesa-dev
mailing list