Bah... Reviewed-by: Jason Ekstrand <[email protected]>
On Tue, Oct 10, 2017 at 4:47 PM, Dave Airlie <[email protected]> wrote: > From: Dave Airlie <[email protected]> > > 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 <[email protected]> > --- > 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 > [email protected] > https://lists.freedesktop.org/mailman/listinfo/mesa-dev >
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
