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:
parent
4692baacfb
commit
3ba34f6633
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue