Skip to content
Commit 8cf02769 authored by Marek Olšák's avatar Marek Olšák Committed by Juan A. Suarez Romero
Browse files

st/mesa: simplify lastLevel determination in st_finalize_texture



This fixes shader images where we always bind stObj->pt and not individual
gl_texture_images.

Roughly based on i965 commit 845ad266
which does a similar thing but for a different reason.

This fixes GL CTS assertion failures introduced by Ilia.

Cc: 18.0 18.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit a4ba7cd6)
parent 1939affe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment