commit | 08f804ec0c2a4d367787adc4ea7a613170b98e73 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Tue Mar 19 13:55:21 2019 -0500 |
committer | Karol Herbst <karolherbst@gmail.com> | Thu Mar 21 02:58:41 2019 +0000 |
tree | e743a58e068c03508e4dda73bb60efc8967fbee2 | |
parent | d8a0658d8ba80d56c5c7f487b24f0ecaa85c1e34 [diff] [blame] |
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>
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index bd045a0..a1612c8 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c
@@ -313,6 +313,7 @@ static const nir_lower_tex_options tex_options = { .lower_txp = ~0, + .lower_tg4_offsets = true, }; nir_lower_tex(nir, &tex_options);