asahi: Localize the modifier #define hack for macOS
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 8 Nov 2022 22:13:10 +0000 (17:13 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 17 Nov 2022 02:47:10 +0000 (02:47 +0000)
commit6ca69b2843fc56a9b1128dd8bf62fa55531726a7
tree1775d60f094d63dd361084c86b90b4e457de9386
parentb89d82fd6c94278b74f61f51f4899f103dc99ec6
asahi: Localize the modifier #define hack for macOS

This reduces the burden of synchronizing the values between Linux and macOS and
provides fewer ways to shoot ourselves in the foot.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606>
src/gallium/drivers/asahi/agx_pipe.c
src/gallium/drivers/asahi/agx_state.h