Mesa (master): nir: Replace the zs_output_pan intrinsic with combined_output_pan

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 10 14:28:48 UTC 2020


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

Author: Icecream95 <ixn at keemail.me>
Date:   Sat Jun  6 14:26:49 2020 +1200

nir: Replace the zs_output_pan intrinsic with combined_output_pan

Depth and stencil writes are combined with color writes, so we need
this intrinsic which has sources for color, RT, depth and stencil.

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

---

 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 340fc3e4c74..1c4cccdb30d 100644
--- a/src/compiler/nir/nir_intrinsics.py
+++ b/src/compiler/nir/nir_intrinsics.py
@@ -875,7 +875,7 @@ intrinsic("bindless_resource_ir3", [1], dest_comp=1, indices=[DESC_SET], flags=[
 
 # src[] = { value }
 store("raw_output_pan", 1, [])
-store("zs_output_pan", 1, [COMPONENT])
+store("combined_output_pan", 4, [BASE, COMPONENT])
 load("raw_output_pan", 0, [], [CAN_ELIMINATE, CAN_REORDER])
 
 # Loads the sampler paramaters <min_lod, max_lod, lod_bias>



More information about the mesa-commit mailing list