anv: fix assert in wsi image code.
authorDave Airlie <airlied@redhat.com>
Tue, 10 Oct 2017 23:45:44 +0000 (09:45 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Oct 2017 23:52:57 +0000 (09:52 +1000)
commit5be3fdfa327902d6385e3469ae76cca948091464
tree22968c9effe3178413dae4db30173bb3ca885156
parent9926af0e7195c245d6b9d11b0fee6ba146987dbf
anv: fix assert in wsi image code.

This assert was firing just running demos.

Jason said it should be this.

Fixes: 6c7720ed78 (anv/wsi: Allocate enough memory for the entire image)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/intel/vulkan/anv_wsi.c