From 935d9e6863f2e3430c60e8ee1f20cbfc79adcd2f Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sun, 28 Feb 2021 19:03:55 +0100 Subject: [PATCH] nir: disaallow reordering for r600 shared load and remove component field The original shared load op can't be reordered, so it might be better to also not allow this for the lowered variant. Signed-off-by: Gert Wollny Acked-by: Eric Anholt 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 daca8e7f252..a1a201fca00 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -1120,7 +1120,7 @@ system_value("tcs_rel_patch_id_r600", 1) system_value("tcs_tess_factor_base_r600", 1) # load as many components as needed giving per-component addresses -intrinsic("load_local_shared_r600", src_comp=[0], dest_comp=0, indices = [COMPONENT], flags = [CAN_ELIMINATE, CAN_REORDER]) +intrinsic("load_local_shared_r600", src_comp=[0], dest_comp=0, indices = [], flags = [CAN_ELIMINATE]) store("local_shared_r600", [1], [WRITE_MASK]) store("tf_r600", [])