X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fpanfrost%2Fpan_compute.c;h=d0b2e132295c631e69c7f927a1fb0ee6d9ae5101;hb=5b0a1a4e49b49cb61d9369d3aaacfe1d124571c8;hp=78f3a88507345db93e586ef922672063dc9da723;hpb=60d80157d17a015d54c117e2e488b3272174cee5;p=mesa.git diff --git a/src/gallium/drivers/panfrost/pan_compute.c b/src/gallium/drivers/panfrost/pan_compute.c index 78f3a885073..d0b2e132295 100644 --- a/src/gallium/drivers/panfrost/pan_compute.c +++ b/src/gallium/drivers/panfrost/pan_compute.c @@ -53,7 +53,7 @@ panfrost_create_compute_state( panfrost_shader_compile(ctx, v->tripipe, cso->ir_type, cso->prog, - MESA_SHADER_COMPUTE, v); + MESA_SHADER_COMPUTE, v, NULL); @@ -87,6 +87,8 @@ panfrost_launch_grid(struct pipe_context *pipe, { struct panfrost_context *ctx = pan_context(pipe); + ctx->compute_grid = info; + struct mali_job_descriptor_header job = { .job_type = JOB_TYPE_COMPUTE, .job_descriptor_size = 1,