Mesa (master): panfrost: Remove MALI_SPECIAL_ATTRIBUTE_BASE defines

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Dec 27 18:29:30 UTC 2019


Module: Mesa
Branch: master
Commit: 9bde6e551d3e4e85a5cbe9fa311ee238517f0d5e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bde6e551d3e4e85a5cbe9fa311ee238517f0d5e

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Dec 27 12:08:45 2019 -0500

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 <alyssa.rosenzweig at collabora.com>

---

 src/panfrost/include/panfrost-job.h | 5 -----
 1 file changed, 5 deletions(-)

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
  *




More information about the mesa-commit mailing list