freedreno: fix buffer import
rsc->layout.cpp
is zero until we fd_resource_layout_init()
Fixes: 5a8718f0 ("freedreno: Make the slice pitch be bytes, not pixels.") Signed-off-by: Rob Clark robdclark@chromium.org
rsc->layout.cpp
is zero until we fd_resource_layout_init()
Fixes: 5a8718f0 ("freedreno: Make the slice pitch be bytes, not pixels.") Signed-off-by: Rob Clark robdclark@chromium.org