src/panfrost/compiler/bifrost/bi_swizzles.h
raw| 1 | /* |
| 2 | * Copyright © 2025 Collabora Ltd. |
| 3 | * SPDX-License-Identifier: MIT |
| 4 | */ |
| 5 | #ifndef _BI_SWIZZLES_H_ |
| 6 | #define _BI_SWIZZLES_H_ |
| 7 | |
| 8 | #include "bi_opcodes.h" |
| 9 | #include "compiler.h" |
| 10 | |
| 11 | /* Bitset of supported bi_swizzle for each src of each instruction. |
| 12 | * |
| 13 | * These are bifrost-only. Supported swizzles on valhall are determined by the |
| 14 | * flags in va_src_info. |
| 15 | * |
| 16 | * Generated in bi_swizzles.c.py */ |
| 17 | extern uint32_t bi_op_swizzles[BI_NUM_OPCODES][BI_MAX_SRCS]; |
| 18 | |
| 19 | #endif |