[Mesa-dev] [PATCH] radv: fix VK_EXT_descriptor_indexing

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Sun May 20 11:40:37 UTC 2018


Pushed, thanks!

On Sun, May 20, 2018 at 1:31 PM, Christoph Haag <haagch at frickel.club> wrote:
> GetPhysicalDeviceProperties2KHR() was crashing because features was null
>
> Signed-off-by: Christoph Haag <haagch at frickel.club>
> ---
>  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
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list