nir2dxil: Lower texture projections

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19115>
This commit is contained in:
Pedro J. Estébanez 2022-10-17 13:34:05 +02:00 committed by Marge Bot
parent 95fe418def
commit 6558a9e1fb

View file

@ -726,6 +726,7 @@ dxil_spirv_nir_passes(nir_shader *nir,
NIR_PASS_V(nir, nir_lower_readonly_images_to_tex, true);
nir_lower_tex_options lower_tex_options = {
.lower_txp = UINT32_MAX,
.lower_invalid_implicit_lod = true,
};
NIR_PASS_V(nir, nir_lower_tex, &lower_tex_options);