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/amd | |
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/amd')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index bd045a0b92f..a1612c829b8 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -313,6 +313,7 @@ radv_shader_compile_to_nir(struct radv_device *device, static const nir_lower_tex_options tex_options = { .lower_txp = ~0, + .lower_tg4_offsets = true, }; nir_lower_tex(nir, &tex_options); |