From d99df25d5d42a001f7ef21d6ae84bbc17a3ae8f3 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 6 Oct 2020 10:45:11 -0400 Subject: [PATCH] pan/bi: Pack skip bit for texture operations Signed-off-by: Alyssa Rosenzweig Reviewed-by: Boris Brezillon Part-of: --- src/panfrost/bifrost/gen_pack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/bifrost/gen_pack.py b/src/panfrost/bifrost/gen_pack.py index d39d2e7..39cac86 100644 --- a/src/panfrost/bifrost/gen_pack.py +++ b/src/panfrost/bifrost/gen_pack.py @@ -271,6 +271,7 @@ modifier_map = { # 0: compute 1: zero "lod_mode": lambda a,b,c,d: '1 - ins->texture.compute_lod', + "skip": lambda a,b,c,d: 'ins->skip', # Not much choice in the matter... "divzero": lambda a,b,c,d: '0', @@ -294,7 +295,6 @@ modifier_map = { "sample": lambda a,b,c,d: '0', # LD_VAR center "function": lambda a,b,c,d: '3', # LD_VAR_FLAT none "preserve_null": lambda a,b,c,d: '0', # SEG_ADD none - "skip": lambda a,b,c,d: '0', # texturing (no skip) "bytes2": lambda a,b,c,d: '0', # NIR shifts are in bits "result_word": lambda a,b,c,d: '0', # 32-bit only shifts for now (TODO) "source": lambda a,b,c,d: '7', # cycle_counter for LD_GCLK -- 2.7.4