src/asahi/libagx/query.h
raw| 1 | /* |
| 2 | * Copyright 2024 Alyssa Rosenzweig |
| 3 | * Copyright 2024 Valve Corporation |
| 4 | * Copyright 2022 Collabora Ltd. and Red Hat Inc. |
| 5 | * SPDX-License-Identifier: MIT |
| 6 | */ |
| 7 | #include "compiler/libcl/libcl.h" |
| 8 | |
| 9 | #pragma once |
| 10 | |
| 11 | struct libagx_xfb_counter_copy { |
| 12 | DEVICE(uint32_t) dest[4]; |
| 13 | DEVICE(uint32_t) src[4]; |
| 14 | }; |
| 15 | |
| 16 | struct libagx_imm_write { |
| 17 | DEVICE(uint32_t) address; |
| 18 | uint32_t value; |
| 19 | }; |
| 20 | |
| 21 | #define LIBAGX_QUERY_UNAVAILABLE (uint64_t)((int64_t)-1) |