Bah... Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net>
On Tue, Oct 10, 2017 at 4:47 PM, Dave Airlie <airl...@gmail.com> wrote: > From: Dave Airlie <airl...@redhat.com> > > This assert was firing just running demos. > > Jason said it should be this. > > Fixes: 6c7720ed78 (anv/wsi: Allocate enough memory for the entire image) > Signed-off-by: Dave Airlie <airl...@redhat.com> > --- > src/intel/vulkan/anv_wsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c > index fc0c288..08d83cd 100644 > --- a/src/intel/vulkan/anv_wsi.c > +++ b/src/intel/vulkan/anv_wsi.c > @@ -239,7 +239,7 @@ anv_wsi_image_create(VkDevice device_h, > memory->bo->flags |= EXEC_OBJECT_WRITE; > > anv_BindImageMemory(device_h, image_h, memory_h, 0); > - assert(image->size == 0); > + assert(image->planes[0].offset == 0); > > struct anv_surface *surface = &image->planes[0].surface; > assert(surface->isl.tiling == ISL_TILING_X); > -- > 2.9.5 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev