Module: Mesa
Branch: master
Commit: d4d29c0455bf8540de3c006dd213ae1ccf2bc361
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4d29c0455bf8540de3c006dd213ae1ccf2bc361

Author: Eric Engestrom <[email protected]>
Date:   Sat Mar  9 22:04:21 2019 +0000

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 <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>

---

 src/gallium/drivers/panfrost/pan_assemble.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to