From d4d29c0455bf8540de3c006dd213ae1ccf2bc361 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 9 Mar 2019 22:04:21 +0000 Subject: 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 --- src/gallium/drivers/panfrost/pan_assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3