Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
panfrost_create_context(struct pipe_screen *screen, void *priv, unsigned flags)
{
struct panfrost_context *ctx = rzalloc(screen, struct panfrost_context);
- struct panfrost_screen *pscreen = pan_screen(screen);
struct pipe_context *gallium = (struct pipe_context *) ctx;
gallium->screen = screen;
{
struct panfrost_screen *screen = pan_screen(batch->ctx->base.screen);
- mali_ptr framebuffer = screen->quirks & MIDGARD_SFBD ?
+ mali_ptr framebuffer = (screen->quirks & MIDGARD_SFBD) ?
panfrost_sfbd_fragment(batch, has_draws) :
panfrost_mfbd_fragment(batch, has_draws);