panvk: Fix wls_size retrieval

Fix a typo in wls_size assignment leading to a wrong wls_size.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13136>
This commit is contained in:
Boris Brezillon 2021-09-30 10:45:56 +02:00 committed by Marge Bot
parent 4692baacfb
commit 3ba34f6633
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ panvk_pipeline_builder_init_shaders(struct panvk_pipeline_builder *builder,
continue;
pipeline->tls_size = MAX2(pipeline->tls_size, shader->info.tls_size);
pipeline->wls_size = MAX2(pipeline->tls_size, shader->info.wls_size);
pipeline->wls_size = MAX2(pipeline->wls_size, shader->info.wls_size);
if (i == MESA_SHADER_VERTEX && shader->info.vs.writes_point_size)
pipeline->ia.writes_point_size = true;