freedreno/computerator: Fix local_size typo

Fixes: cbc68c79a5 ("freedreno: Add local_size to ir3_shader_variant")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11622>
(cherry picked from commit 56dc84b95c)
This commit is contained in:
Connor Abbott 2021-06-28 10:48:53 +02:00 committed by Eric Engestrom
parent 38e0a766f3
commit 864db00152
2 changed files with 3 additions and 3 deletions

View file

@ -9472,7 +9472,7 @@
"description": "freedreno/computerator: Fix local_size typo",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "cbc68c79a51b76e204ca30e532b23a9ccda78242"
},

View file

@ -41,8 +41,8 @@ ir3_asm_assemble(struct ir3_compiler *c, FILE *in)
kernel->bin = v->bin;
kernel->base.local_size[0] = v->local_size[0];
kernel->base.local_size[1] = v->local_size[0];
kernel->base.local_size[2] = v->local_size[0];
kernel->base.local_size[1] = v->local_size[1];
kernel->base.local_size[2] = v->local_size[2];
kernel->base.num_bufs = kernel->info.num_bufs;
memcpy(kernel->base.buf_sizes, kernel->info.buf_sizes, sizeof(kernel->base.buf_sizes));