Mesa (master): nir: Add a base value to load_raw_output_pan

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 13 14:04:06 UTC 2020


Module: Mesa
Branch: master
Commit: 2e3a589e6c82c4baae279af61ec06940a2335c42
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e3a589e6c82c4baae279af61ec06940a2335c42

Author: Icecream95 <ixn at keemail.me>
Date:   Mon Jul  6 19:49:11 2020 +1200

nir: Add a base value to load_raw_output_pan

This is the render target the read instruction uses.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5755>

---

 src/compiler/nir/nir_intrinsics.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py
index d59926a2901..a7d9d73369e 100644
--- a/src/compiler/nir/nir_intrinsics.py
+++ b/src/compiler/nir/nir_intrinsics.py
@@ -866,7 +866,7 @@ intrinsic("bindless_resource_ir3", [1], dest_comp=1, indices=[DESC_SET], flags=[
 # src[] = { value }
 store("raw_output_pan", [], [])
 store("combined_output_pan", [1, 1, 1], [BASE, COMPONENT])
-load("raw_output_pan", [], [], [CAN_ELIMINATE, CAN_REORDER])
+load("raw_output_pan", [], [BASE], [CAN_ELIMINATE, CAN_REORDER])
 
 # Loads the sampler paramaters <min_lod, max_lod, lod_bias>
 # src[] = { sampler_index }



More information about the mesa-commit mailing list