nir: Replace the zs_output_pan intrinsic with combined_output_pan
authorIcecream95 <ixn@keemail.me>
Sat, 6 Jun 2020 02:26:49 +0000 (14:26 +1200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 13:54:03 +0000 (13:54 +0000)
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@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5065>

src/compiler/nir/nir_intrinsics.py

index 340fc3e4c747ec7007fe250046a3cc839ce6c521..1c4cccdb30d21d54daad8718962bc958bb5d78d4 100644 (file)
@@ -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>