Skip to content
Snippets Groups Projects
Commit 3c96a1e3 authored by Bas Nieuwenhuizen's avatar Bas Nieuwenhuizen
Browse files

radv: Fix opaque metadata descriptor last layer.


We used the layer count which results in an off by one error.

Not sure this really affects anything.

Fixes: f4e499ec "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
parent ff466c2d
No related branches found
No related tags found
No related merge requests found
......@@ -691,7 +691,7 @@ radv_query_opaque_metadata(struct radv_device *device,
si_make_texture_descriptor(device, image, false,
(VkImageViewType)image->type, image->vk_format,
&fixedmapping, 0, image->info.levels - 1, 0,
image->info.array_size,
image->info.array_size - 1,
image->info.width, image->info.height,
image->info.depth,
desc, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment