diff options
author | Christoph Haag <[email protected]> | 2018-05-20 13:21:13 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-05-20 13:36:07 +0200 |
commit | 549e54270ba3a519b46a1fbffa4aa6b628a052d3 (patch) | |
tree | 8faf52545ca0e8131534b33c66450eea41fb704e /src/amd | |
parent | a1c87235a9d077b32094725ad7ea3b9919743c9f (diff) |
radv: fix VK_EXT_descriptor_indexing
GetPhysicalDeviceProperties2KHR() was crashing because features was null
Fixes: 0e10790558b "radv: Enable VK_EXT_descriptor_indexing."
CC: 18.1 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index c52b3a591f8..d6abab338eb 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -731,7 +731,7 @@ void radv_GetPhysicalDeviceFeatures2( } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT: { VkPhysicalDeviceDescriptorIndexingFeaturesEXT *features = - (VkPhysicalDeviceDescriptorIndexingFeaturesEXT*)features; + (VkPhysicalDeviceDescriptorIndexingFeaturesEXT*)ext; features->shaderInputAttachmentArrayDynamicIndexing = true; features->shaderUniformTexelBufferArrayDynamicIndexing = true; features->shaderStorageTexelBufferArrayDynamicIndexing = true; |