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

Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
Date:   Mon Jan 22 00:34:08 2018 +0100

radv: Expose that we don't support any VK_KHR_16_bit_storage parts.

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

---

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

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 44154d4e7b..2959253885 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -707,6 +707,15 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->protectedMemory = false;
                        break;
                }
+               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: {
+                       VkPhysicalDevice16BitStorageFeatures *features =
+                           (VkPhysicalDevice16BitStorageFeatures*)ext;
+                       features->storageBuffer16BitAccess = false;
+                       features->uniformAndStorageBuffer16BitAccess = false;
+                       features->storagePushConstant16 = false;
+                       features->storageInputOutput16 = 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