Re: [Mesa-dev] [PATCH] mesa/bindless: fix missing image _Layer initialization

2018-01-03 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 12/30/2017 06:30 AM, Ilia Mirkin wrote: Some later code relies on _Layer to set first/last_layer. Make sure it's always initialized. Detected by valgrind's conditional jump/move with uninit value logic. Signed-off-by: Ilia Mirkin --- src/mesa/main/texturebin

Re: [Mesa-dev] [PATCH] mesa/bindless: fix missing image _Layer initialization

2018-01-02 Thread Ian Romanick
Once you can see the then-block before this else-block, it becomes obvious. :) Reviewed-by: Ian Romanick On 12/29/2017 09:30 PM, Ilia Mirkin wrote: > Some later code relies on _Layer to set first/last_layer. Make sure it's > always initialized. > > Detected by valgrind's conditional jump/move w

[Mesa-dev] [PATCH] mesa/bindless: fix missing image _Layer initialization

2017-12-29 Thread Ilia Mirkin
Some later code relies on _Layer to set first/last_layer. Make sure it's always initialized. Detected by valgrind's conditional jump/move with uninit value logic. Signed-off-by: Ilia Mirkin --- src/mesa/main/texturebindless.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/tex