From 76519b216be9180a19f43c531eccf05a9bf38bec Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 27 Dec 2019 12:11:37 -0500 Subject: [PATCH] panfrost: Remove MALI_ATTR_INTERNAL It's a relic from before we understood the varying builtins. It should never actually come up if the builtins are decoded correctly. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/include/panfrost-job.h | 1 - src/panfrost/pandecode/decode.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 1767a5b6f20..157f05ced09 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -807,7 +807,6 @@ enum mali_attr_mode { MALI_ATTR_MODULO = 3, MALI_ATTR_NPOT_DIVIDE = 4, MALI_ATTR_IMAGE = 5, - MALI_ATTR_INTERNAL = 6 }; /* Pseudo-address for gl_VertexID, gl_FragCoord, gl_FrontFacing */ diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 73f26402cb0..6be8c1b73b1 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -432,8 +432,6 @@ static char *pandecode_attr_mode_short(enum mali_attr_mode mode) return "instanced_npot"; case MALI_ATTR_IMAGE: return "image"; - case MALI_ATTR_INTERNAL: - return "internal"; default: pandecode_msg("XXX: invalid attribute mode %X\n", mode); return ""; -- 2.30.2