Module: Mesa
Branch: main
Commit: b3cc213f56c4d0595e26684b1c658e7585b8cc22
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3cc213f56c4d0595e26684b1c658e7585b8cc22

Author: Georg Lehmann <[email protected]>
Date:   Mon Aug 22 16:45:00 2022 +0200

radv: Fold 16bit image sources.

Signed-off-by: Georg Lehmann <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18106>

---

 src/amd/vulkan/radv_pipeline.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 63e4d7c2ec0..e153aaadc20 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -4529,6 +4529,7 @@ radv_postprocess_nir(struct radv_pipeline *pipeline,
          .rounding_mode = nir_rounding_mode_rtne,
          .fold_tex_dest = true,
          .fold_image_load_store_data = true,
+         .fold_image_srcs = !radv_use_llvm_for_stage(device, stage->stage),
          .fold_srcs_options_count = separate_g16 ? 2 : 1,
          .fold_srcs_options = fold_srcs_options,
       };

Reply via email to