summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Abbott <cwabbott0@gmail.com>2021-06-28 10:48:53 +0200
committerMarge Bot <eric+marge@anholt.net>2021-06-28 16:06:23 +0000
commit56dc84b95cd80332c7e9377c2ad39ff41813d1ac (patch)
tree740916ac642cd7dbd32762e0688efa9f705fb8d8
parent502b06c4f50dc26d3e59bfb9a1ba0a7b0c315c6d (diff)
freedreno/computerator: Fix local_size typo
Fixes: cbc68c79a51 ("freedreno: Add local_size to ir3_shader_variant") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11622>
-rw-r--r--src/freedreno/computerator/ir3_asm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/computerator/ir3_asm.c b/src/freedreno/computerator/ir3_asm.c
index 8539d4dde31..b9c295adff9 100644
--- a/src/freedreno/computerator/ir3_asm.c
+++ b/src/freedreno/computerator/ir3_asm.c
@@ -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));