Module: Mesa
Branch: master
Commit: b137e25277a783d79ac9b49e36398dcfab7d818c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b137e25277a783d79ac9b49e36398dcfab7d818c

Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
Date:   Sun Jan 21 15:59:45 2018 +0100

radv: Support VkPhysicalDeviceProtectedMemoryFeatures.

Reviewed-by: Dave Airlie <airl...@redhat.com>

---

 src/amd/vulkan/radv_device.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index a791d3a7e4..c16944e5f8 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -672,6 +672,12 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->shaderDrawParameters = true;
                        break;
                }
+               case 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: {
+                       VkPhysicalDeviceProtectedMemoryFeatures *features =
+                           (VkPhysicalDeviceProtectedMemoryFeatures*)ext;
+                       features->protectedMemory = false;
+                       break;
+               }
                default:
                        break;
                }

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to