Re: [Mesa-dev] [PATCH v2] panfrost: Remove panfrost_context.depth_stencil_buffer

2019-07-10 Thread Alyssa Rosenzweig
A step in the right direction, but not totally right I don't think. > +struct pipe_surface *surf = ctx->pipe_framebuffer.zsbuf; > +struct panfrost_resource *rsrc = pan_resource(surf->texture); > +sfbd->depth_buffer = rsrc->bo->gpu; Critically, ctx->

[Mesa-dev] [PATCH v2] panfrost: Remove panfrost_context.depth_stencil_buffer

2019-07-10 Thread Tomeu Vizoso
This was stale code that was causing a SIGSEGV when using SFBD, as we stopped creating the corresponding BO. Signed-off-by: Tomeu Vizoso --- src/gallium/drivers/panfrost/pan_context.h | 1 - src/gallium/drivers/panfrost/pan_sfbd.c| 8 ++-- 2 files changed, 6 insertions(+), 3 deletions(-)