summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdata.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-11-12 03:14:35 +0100
committerbunnei <bunneidev@gmail.com>2022-03-25 02:13:32 +0100
commit402273d91b4051f5e7220140935c0c15ae968f94 (patch)
tree223dcc015cc5d43e581ba43fb7b087684eb41a7e /src/core/hle/service/nvdrv/nvdata.h
parenthle: nvflinger: Move PixelFormat to its own header. (diff)
downloadyuzu-402273d91b4051f5e7220140935c0c15ae968f94.tar
yuzu-402273d91b4051f5e7220140935c0c15ae968f94.tar.gz
yuzu-402273d91b4051f5e7220140935c0c15ae968f94.tar.bz2
yuzu-402273d91b4051f5e7220140935c0c15ae968f94.tar.lz
yuzu-402273d91b4051f5e7220140935c0c15ae968f94.tar.xz
yuzu-402273d91b4051f5e7220140935c0c15ae968f94.tar.zst
yuzu-402273d91b4051f5e7220140935c0c15ae968f94.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdata.h')
-rw-r--r--src/core/hle/service/nvdrv/nvdata.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/core/hle/service/nvdrv/nvdata.h b/src/core/hle/service/nvdrv/nvdata.h
index 5ab221fc1..33cbd8904 100644
--- a/src/core/hle/service/nvdrv/nvdata.h
+++ b/src/core/hle/service/nvdrv/nvdata.h
@@ -16,17 +16,11 @@ using DeviceFD = s32;
constexpr DeviceFD INVALID_NVDRV_FD = -1;
-struct Fence {
+struct NvFence {
s32 id;
u32 value;
};
-
-static_assert(sizeof(Fence) == 8, "Fence has wrong size");
-
-struct MultiFence {
- u32 num_fences;
- std::array<Fence, 4> fences;
-};
+static_assert(sizeof(NvFence) == 8, "Fence has wrong size");
enum class NvResult : u32 {
Success = 0x0,