[Mesa-dev] [PATCH] anv: Fix descriptors copying

Jason Ekstrand jason at jlekstrand.net
Sat Sep 16 15:55:13 UTC 2017


Clearly there are no tests for this...  If you wanted to go above and 
beyond, you could write I've.  :-)


On September 16, 2017 05:24:25 Józef Kucia <joseph.kucia at gmail.com> wrote:

> Trivial.
>
> Cc: mesa-stable at lists.freedesktop.org
> ---
>
> I do not have commit access.
>
> ---
>  src/intel/vulkan/anv_descriptor_set.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_descriptor_set.c 
> b/src/intel/vulkan/anv_descriptor_set.c
> index 91387c065e..8407798230 100644
> --- a/src/intel/vulkan/anv_descriptor_set.c
> +++ b/src/intel/vulkan/anv_descriptor_set.c
> @@ -764,7 +764,7 @@ void anv_UpdateDescriptorSets(
>
>     for (uint32_t i = 0; i < descriptorCopyCount; i++) {
>        const VkCopyDescriptorSet *copy = &pDescriptorCopies[i];
> -      ANV_FROM_HANDLE(anv_descriptor_set, src, copy->dstSet);
> +      ANV_FROM_HANDLE(anv_descriptor_set, src, copy->srcSet);
>        ANV_FROM_HANDLE(anv_descriptor_set, dst, copy->dstSet);
>
>        const struct anv_descriptor_set_binding_layout *src_layout =
> --
> 2.13.5
>
> _______________________________________________
> 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