commit | 7893dfa247c5b4ff263847537fbe7265423e2664 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Mon Aug 17 11:09:19 2020 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Aug 19 10:16:27 2020 +1000 |
tree | 4ad661bf6f706968ac2409e0310b4e7111e83146 | |
parent | da4f2215aac827b9e60ea7699d9fd95e1e16a373 [diff] |
gallivm/sample: fix lod query on array textures. The lod query doesn't take a layer, but the code tries to use one, detect lodq and don't use a layer in those cases. There appears to be no GL tests for this behaviour, but the vulkan CTS hits it. Fixes: dEQP-VK.glsl.texture_functions.query.texturequerylod.* Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6339>