Skip to content
Snippets Groups Projects
Commit 15a1ceb1 authored by Wladimir J. van der Laan's avatar Wladimir J. van der Laan Committed by Christian Gmeiner
Browse files

etnaviv: Clear lbl_usage array correctly


Fill the entire array instead of just a quarter. This avoids
crashes with large shaders.
(currently this never causes a problem because shaders larger than 2048/4
instructions are not supported by this driver on any hardware, but it will
cause problems in the future)

Fixes: ec436051 ("etnaviv: fix shader miscompilation with more than 16 labels")
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: default avatarWladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
parent 6874b953
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment