mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 08:50:25 +01:00
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:f4e499ec79"radv: add initial non-conformant radv vulkan driver" Reviewed-by: Dave Airlie <airlied@redhat.com> (cherry picked from commit3c96a1e3a9)
This commit is contained in:
parent
825cb76860
commit
02566b9725
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue