panfrost,asahi: Remove unused prepare macro
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18922>
This commit is contained in:
committed by
Alyssa Rosenzweig
parent
0302519f1c
commit
0f24c8ef5f
@@ -89,9 +89,6 @@ __gen_unpack_sint(const uint8_t *restrict cl, uint32_t start, uint32_t end)
|
||||
return util_sign_extend(val, size);
|
||||
}
|
||||
|
||||
#define agx_prepare(dst, T) \\
|
||||
*(dst) = (struct AGX_ ## T){ AGX_ ## T ## _header }
|
||||
|
||||
#define agx_pack(dst, T, name) \\
|
||||
for (struct AGX_ ## T name = { AGX_ ## T ## _header }, \\
|
||||
*_loop_terminate = (void *) (dst); \\
|
||||
|
||||
@@ -102,9 +102,6 @@ __gen_unpack_padded(const uint8_t *restrict cl, uint32_t start, uint32_t end)
|
||||
#define PREFIX2(A, B) MALI_ ## A ## _ ## B
|
||||
#define PREFIX4(A, B, C, D) MALI_ ## A ## _ ## B ## _ ## C ## _ ## D
|
||||
|
||||
#define pan_prepare(dst, T) \\
|
||||
*(dst) = (struct PREFIX1(T)){ PREFIX2(T, header) }
|
||||
|
||||
#define pan_pack(dst, T, name) \\
|
||||
for (struct PREFIX1(T) name = { PREFIX2(T, header) }, \\
|
||||
*_loop_terminate = (void *) (dst); \\
|
||||
|
||||
Reference in New Issue
Block a user