mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
radv: move RADV_API_VERSION to radv_instance.h
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28568>
This commit is contained in:
parent
e25882352b
commit
e8269c01cb
3 changed files with 7 additions and 6 deletions
|
|
@ -32,6 +32,12 @@
|
|||
|
||||
#include "vk_instance.h"
|
||||
|
||||
#ifdef ANDROID_STRICT
|
||||
#define RADV_API_VERSION VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION)
|
||||
#else
|
||||
#define RADV_API_VERSION VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION)
|
||||
#endif
|
||||
|
||||
enum radv_trace_mode {
|
||||
/** Radeon GPU Profiler */
|
||||
RADV_TRACE_MODE_RGP = 1 << VK_TRACE_MODE_COUNT,
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
#include "util/u_debug.h"
|
||||
#include "radv_android.h"
|
||||
#include "radv_debug.h"
|
||||
#include "radv_instance.h"
|
||||
#include "radv_pipeline_rt.h"
|
||||
#include "radv_private.h"
|
||||
#include "radv_video.h"
|
||||
|
|
|
|||
|
|
@ -107,12 +107,6 @@ extern "C" {
|
|||
#define RADV_USE_WSI_PLATFORM
|
||||
#endif
|
||||
|
||||
#ifdef ANDROID_STRICT
|
||||
#define RADV_API_VERSION VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION)
|
||||
#else
|
||||
#define RADV_API_VERSION VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION)
|
||||
#endif
|
||||
|
||||
/* The "RAW" clocks on Linux are called "FAST" on FreeBSD */
|
||||
#if !defined(CLOCK_MONOTONIC_RAW) && defined(CLOCK_MONOTONIC_FAST)
|
||||
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC_FAST
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue