mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +01:00
etnaviv: vectorise io
This etnaviv backend code depends heavly on optimisation passes eliminating
all but a single write to shader outputs. Here we make sure that shader
output writes are vectorised.
Fixes: 7647023f3b ("glsl: enable the use of the nir based varying linker")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6536
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16683>
This commit is contained in:
parent
0a19ae1e98
commit
1c186580e1
1 changed files with 1 additions and 0 deletions
|
|
@ -1117,6 +1117,7 @@ etna_screen_create(struct etna_device *dev, struct etna_gpu *gpu,
|
|||
.lower_uniforms_to_ubo = screen->specs.halti >= 2,
|
||||
.force_indirect_unrolling = nir_var_all,
|
||||
.max_unroll_iterations = 32,
|
||||
.vectorize_io = true,
|
||||
};
|
||||
|
||||
/* apply debug options that disable individual features */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue