Pushed, thanks!

On Sun, May 20, 2018 at 1:31 PM, Christoph Haag <[email protected]> wrote:
> GetPhysicalDeviceProperties2KHR() was crashing because features was null
>
> Signed-off-by: Christoph Haag <[email protected]>
> ---
>  src/amd/vulkan/radv_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index c52b3a591f..d6abab338e 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;
> --
> 2.17.0
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to