radv: enable lower_lod_zero_width

This fixes dEQP-VK.glsl.texture_functions.query.texturequerylod.*.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14147>
This commit is contained in:
Samuel Pitoiset 2021-12-10 13:47:44 +01:00 committed by Marge Bot
parent be53b3d1bf
commit 43022ecc3a

View file

@ -655,6 +655,7 @@ radv_shader_compile_to_nir(struct radv_device *device, struct vk_shader_module *
.lower_tg4_offsets = true,
.lower_txs_cube_array = true,
.lower_to_fragment_fetch_amd = true,
.lower_lod_zero_width = true,
};
nir_lower_tex(nir, &tex_options);