From: Icecream95 Date: Sat, 6 Jun 2020 02:26:49 +0000 (+1200) Subject: nir: Replace the zs_output_pan intrinsic with combined_output_pan X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcc8f28b1a3a4e4cc71d4eed38e6b43f414adab2;p=mesa.git 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 Part-of: --- 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