Re: [Mesa-dev] [PATCH] st/mesa: simplify lastLevel determination in st_finalize_texture

2018-05-24 Thread Nicolai Hähnle
Seems plausible, although that code tends to be tricky as hell. Assuming no piglit / CTS regressions: Reviewed-by: Nicolai Hähnle On 23.05.2018 22:43, Marek Olšák wrote: From: Marek Olšák This fixes shader images where we always bind stObj->pt and not individual gl_texture_images. Roughly

[Mesa-dev] [PATCH] st/mesa: simplify lastLevel determination in st_finalize_texture

2018-05-23 Thread Marek Olšák
From: Marek Olšák This fixes shader images where we always bind stObj->pt and not individual gl_texture_images. Roughly based on i965 commit 845ad2667ab2466752f06ea30bdb9c837116c308 which does a similar thing but for a different reason. This fixes GL CTS assertion failures introduced by Ilia.