summaryrefslogtreecommitdiffstats
path: root/third_party/rust/gfx-backend-metal/shaders/macros.h
blob: b731190479e6513f87a4ae5f3d5ca0bbd82fb995 (plain)
1
2
3
4
5
#ifdef __METAL_MACOS__
#   define GFX_RENDER_TARGET_ARRAY_INDEX [[render_target_array_index]]
#else
#   define GFX_RENDER_TARGET_ARRAY_INDEX
#endif