commit | 527e912b9831c6e2b5cc046a8e637f380051de4d | [log] [tgz] |
---|---|---|
author | Gert Wollny <gert.wollny@collabora.com> | Mon Jun 19 11:58:25 2023 |
committer | Marge Bot <emma+marge@anholt.net> | Tue Jun 20 08:24:14 2023 |
tree | 0b72237e34004a87ff04b3b60a7bc21b6107198b | |
parent | e5ad8e9ad3b9ce96f9b68725fe02dba63f91d894 [diff] |
vrend: Correctly apply texture levels for texture views Either we limit the levels by using the parameters in the texture view or we set the parameters GL_TEXTURE_BASE_LEVEL and GL_TEXTURE_MAX_LEVEL. Since the latter would result in ugly if-else statements, we stick to the texture view. This fixes the CTS test KHR-GL43.texture_view.view_sampling It fixes also most of the rendering of GravityMark. Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8339 Signed-off-by: Gert Wollny <gert.wollny@collabora.co.uk> Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1166>