From: Eric Engestrom Date: Sat, 9 Mar 2019 22:04:21 +0000 (+0000) Subject: panfrost: fix tgsi_to_nir() call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4d29c0455bf8540de3c006dd213ae1ccf2bc361;p=mesa.git panfrost: fix tgsi_to_nir() call Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109945 Fixes: 7da251fc721360fc28b9 "panfrost: Check in sources for command stream" Cc: Alyssa Rosenzweig Signed-off-by: Eric Engestrom --- diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c index f3b339d8184..d1ecfd4ac03 100644 --- a/src/gallium/drivers/panfrost/pan_assemble.c +++ b/src/gallium/drivers/panfrost/pan_assemble.c @@ -48,7 +48,7 @@ panfrost_shader_compile(struct panfrost_context *ctx, struct mali_shader_meta *m } else { assert (cso->type == PIPE_SHADER_IR_TGSI); //tgsi_dump(cso->tokens, 0); - s = tgsi_to_nir(cso->tokens, &ctx->base.screen); + s = tgsi_to_nir(cso->tokens, ctx->base.screen); } s->info.stage = type == JOB_TYPE_VERTEX ? MESA_SHADER_VERTEX : MESA_SHADER_FRAGMENT;