radv: Fix opaque metadata descriptor last layer.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 24 Nov 2018 19:52:20 +0000 (20:52 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 26 Nov 2018 08:29:39 +0000 (09:29 +0100)
commit3c96a1e3a97ba89dad803e7be8f9e3d4f6516fa3
tree6304ae1d9c68fcae02b423674c20e025c4f31e17
parentff466c2d48c611d05ee400c814d0da171a6cbce2
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: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c