panfrost: fix tgsi_to_nir() call
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 9 Mar 2019 22:04:21 +0000 (22:04 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Sat, 9 Mar 2019 22:06:19 +0000 (22:06 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109945
Fixes: 7da251fc721360fc28b9 "panfrost: Check in sources for command stream"
Cc: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
src/gallium/drivers/panfrost/pan_assemble.c

index f3b339d8184548dde337f6f25e21eb7b4d1f0ad6..d1ecfd4ac03fad1e43a6aad46e5284eee6c06635 100644 (file)
@@ -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;