From ea85e3abb9964256d6e4e19b67643dbc1906a02c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 6 Oct 2020 12:28:47 -0400 Subject: [PATCH] pan/bi: Prefer 'texture_index' to 'image_index' They're not images. Making the executive decision to fix the notation. Not canonical. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Boris Brezillon Part-of: --- src/panfrost/bifrost/ISA.xml | 14 +++++++------- src/panfrost/bifrost/gen_pack.py | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/panfrost/bifrost/ISA.xml b/src/panfrost/bifrost/ISA.xml index ec841a0f714..20b88b6a1f3 100644 --- a/src/panfrost/bifrost/ISA.xml +++ b/src/panfrost/bifrost/ISA.xml @@ -7023,7 +7023,7 @@ - + u16 u32 @@ -7662,7 +7662,7 @@ - + @@ -7674,7 +7674,7 @@ - + @@ -7688,7 +7688,7 @@ - + @@ -7697,7 +7697,7 @@ - + @@ -8016,7 +8016,7 @@ - + store retrieve @@ -8046,7 +8046,7 @@ - + store retrieve diff --git a/src/panfrost/bifrost/gen_pack.py b/src/panfrost/bifrost/gen_pack.py index 39cac86e715..9adaa8fcda9 100644 --- a/src/panfrost/bifrost/gen_pack.py +++ b/src/panfrost/bifrost/gen_pack.py @@ -392,7 +392,7 @@ IMMEDIATE_TABLE = { 'attribute_index': 'bi_get_immediate(ins, 0)', 'varying_index': 'bi_get_immediate(ins, 0)', 'index': 'bi_get_immediate(ins, 0)', - 'image_index': 'ins->texture.texture_index', + 'texture_index': 'ins->texture.texture_index', 'sampler_index': 'ins->texture.sampler_index', 'table': '63', # Bindless (flat addressing) mode for DTSEL_IMM