mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 15:26:54 -05:00
26 lines
376 B
C++
26 lines
376 B
C++
|
#pragma once
|
||
|
|
||
|
#include <array>
|
||
|
#include "common/common_types.h"
|
||
|
|
||
|
namespace Service::Nvidia {
|
||
|
|
||
|
struct Fence {
|
||
|
s32 id;
|
||
|
u32 value;
|
||
|
};
|
||
|
|
||
|
static_assert(sizeof(Fence) == 8, "Fence has wrong size");
|
||
|
|
||
|
struct MultiFence {
|
||
|
u32 num_fences;
|
||
|
std::array<Fence, 4> fences;
|
||
|
};
|
||
|
|
||
|
enum class NvResult : u32 {
|
||
|
Success = 0,
|
||
|
TryAgain = 11,
|
||
|
};
|
||
|
|
||
|
} // namespace Service::Nvidia
|