From bcc8f28b1a3a4e4cc71d4eed38e6b43f414adab2 Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Sat, 6 Jun 2020 14:26:49 +1200 Subject: [PATCH] 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: --- 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 -- 2.30.2