From 2e3a589e6c82c4baae279af61ec06940a2335c42 Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Mon, 6 Jul 2020 19:49:11 +1200 Subject: [PATCH] nir: Add a base value to load_raw_output_pan This is the render target the read instruction uses. 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 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 # src[] = { sampler_index } -- 2.30.2