mesa/src/asahi/libagx/query.h
Alyssa Rosenzweig bfca178e27 asahi: clang-format
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34326>
2025-04-01 17:42:51 +00:00

21 lines
439 B
C

/*
* Copyright 2024 Alyssa Rosenzweig
* Copyright 2024 Valve Corporation
* Copyright 2022 Collabora Ltd. and Red Hat Inc.
* SPDX-License-Identifier: MIT
*/
#include "compiler/libcl/libcl.h"
#pragma once
struct libagx_xfb_counter_copy {
DEVICE(uint32_t) dest[4];
DEVICE(uint32_t) src[4];
};
struct libagx_imm_write {
DEVICE(uint32_t) address;
uint32_t value;
};
#define LIBAGX_QUERY_UNAVAILABLE (uint64_t)((int64_t)-1)