Skip to content

v3d: texture query lod support

Although the driver is right now exposing support for ARB_texture_query_lod and EXT_texture_query_lod, it was not really implemented.

Additionally, that feature was added on v42, so we can't just expose for any v3d driver.

Note that in order to test this support on OpenGL with piglit you need to override the opengl version, as that feature requires GLSL 1.30 (see issue 2797 for more info), and there isn't any EXT_texture_query_lod tests.

This series includes 4 patches, only the last 2 are directly related to texture query lod. The two first are some little improvements, that I think that would make sense to review now. I could remove them and focus on the query lod if needed.

Merge request reports