From: Alyssa Rosenzweig Date: Fri, 27 Dec 2019 17:08:45 +0000 (-0500) Subject: panfrost: Remove MALI_SPECIAL_ATTRIBUTE_BASE defines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bde6e551d3e4e85a5cbe9fa311ee238517f0d5e;p=mesa.git panfrost: Remove MALI_SPECIAL_ATTRIBUTE_BASE defines These are conventions by the blob (a convention we happent to follow). They are not at all intrinsic to the hardware, so now that the convention is implemented within the Midgard stack, these defines are wholly unused. Remove them. Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 70ab2585eea..6f534667ce5 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -669,11 +669,6 @@ struct mali_payload_write_value { u64 immediate; } __attribute__((packed)); -/* Special attributes have a fixed index */ -#define MALI_SPECIAL_ATTRIBUTE_BASE 16 -#define MALI_VERTEX_ID (MALI_SPECIAL_ATTRIBUTE_BASE + 0) -#define MALI_INSTANCE_ID (MALI_SPECIAL_ATTRIBUTE_BASE + 1) - /* * Mali Attributes *