pan/bi: Pack skip bit for texture operations

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7081>
This commit is contained in:
Alyssa Rosenzweig
2020-10-06 10:45:11 -04:00
parent 39ec3eb6e7
commit d99df25d5d

View File

@@ -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