diff options
author | Lucas Stach <[email protected]> | 2017-06-26 18:24:31 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2017-06-28 22:04:30 +0200 |
commit | ec43605189907fa327a4a7f457aa3c822cfdea5d (patch) | |
tree | a83211cabc9cc981f62da6a8685ac7fb84f74ba3 /src/glx/dri_glx.c | |
parent | ff422500cc4f69877b7ba9f8c633309be6233f4c (diff) |
etnaviv: fix shader miscompilation with more than 16 labels
The labels array may change its virtual address on a reallocation, so
it is invalid to cache pointers into the array. Rather than using the
pointer directly, remember the array index.
Fixes miscompilation of shaders in glmark2 ideas, leading to GPU hangs.
Fixes: c9e8b49b (etnaviv: gallium driver for Vivante GPUs)
Cc: [email protected]
Signed-off-by: Lucas Stach <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/glx/dri_glx.c')
0 files changed, 0 insertions, 0 deletions