mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 18:00:13 +01:00
i965/nir: enable lowering of texture gradient for cube maps
This gets the lowering on the Vulkan driver too. Fixes Vulkan CTS cube map texture gradient tests in: dEQP-VK.glsl.texture_functions.texturegrad.* Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
a8e740c354
commit
f90da64fc6
1 changed files with 1 additions and 0 deletions
|
|
@ -467,6 +467,7 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir)
|
||||||
.lower_txp = ~0,
|
.lower_txp = ~0,
|
||||||
.lower_txf_offset = true,
|
.lower_txf_offset = true,
|
||||||
.lower_rect_offset = true,
|
.lower_rect_offset = true,
|
||||||
|
.lower_txd_cube_map = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
OPT(nir_lower_tex, &tex_options);
|
OPT(nir_lower_tex, &tex_options);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue