diff options
author | Jason Ekstrand <[email protected]> | 2019-03-19 13:55:21 -0500 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-03-21 02:58:41 +0000 |
commit | 08f804ec0c2a4d367787adc4ea7a613170b98e73 (patch) | |
tree | e743a58e068c03508e4dda73bb60efc8967fbee2 /src/intel | |
parent | d8a0658d8ba80d56c5c7f487b24f0ecaa85c1e34 (diff) |
anv,radv,turnip: Lower TG4 offsets with nir_lower_tex
v2: turn on for turnip as well (Karol Herbst)
Reviewed-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 7719ad40251..370b66dc57d 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -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); |