anv,radv,turnip: Lower TG4 offsets with nir_lower_tex
v2: turn on for turnip as well (Karol Herbst) Reviewed-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:

committed by
Karol Herbst

parent
d8a0658d8b
commit
08f804ec0c
@@ -683,6 +683,7 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir,
|
||||
.lower_txb_shadow_clamp = true,
|
||||
.lower_txd_shadow_clamp = true,
|
||||
.lower_txd_offset_clamp = true,
|
||||
.lower_tg4_offsets = true,
|
||||
};
|
||||
|
||||
OPT(nir_lower_tex, &tex_options);
|
||||
|
Reference in New Issue
Block a user