aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/compiler.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-09 19:52:56 -0400
committerMarge Bot <[email protected]>2020-03-10 19:25:59 +0000
commit69c66ffd8440a6763977641570ffde4fdd5eb3d8 (patch)
treef05dbb4868428253618c24b385f97ac1b930ac6e /src/panfrost/bifrost/compiler.h
parente9d480ca1bcf9d410535c95cbe2f93c802b82409 (diff)
pan/bi: Remove bi_load
This is now made redundant with writemasks, so let's regularize the IR. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4139>
Diffstat (limited to 'src/panfrost/bifrost/compiler.h')
-rw-r--r--src/panfrost/bifrost/compiler.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index c99eea0545c..c99943fead3 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -112,21 +112,8 @@ extern unsigned bi_class_props[BI_NUM_CLASSES];
/* It can't get any worse than csel4... can it? */
#define BIR_SRC_COUNT 4
-/* Class-specific data for BI_LOAD, BI_LD_ATTR, BI_LD_VAR_ADDR */
-struct bi_load {
- /* Note: LD_ATTR does not support indirects */
- unsigned location;
-
- /* Number of vector channels */
- unsigned channels;
-};
-
/* BI_LD_VARY */
struct bi_load_vary {
- /* All parameters used here. Indirect location specified in
- * src1 and ignoring location, if present. */
- struct bi_load load;
-
enum bifrost_interp_mode interp_mode;
bool reuse;
bool flat;
@@ -241,7 +228,6 @@ typedef struct {
/* Union for class-specific information */
union {
enum bifrost_minmax_mode minmax;
- struct bi_load load;
struct bi_load_vary load_vary;
struct bi_branch branch;