summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_gpu.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/devices/nvhost_gpu.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/devices/nvhost_gpu.h')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_gpu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.h b/src/core/hle/service/nvdrv/devices/nvhost_gpu.h
index 3e4f3b6a7..b2e943e45 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.h
+++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.h
@@ -109,7 +109,7 @@ private:
static_assert(sizeof(IoctlGetErrorNotification) == 16,
"IoctlGetErrorNotification is incorrect size");
- static_assert(sizeof(Fence) == 8, "Fence is incorrect size");
+ static_assert(sizeof(NvFence) == 8, "Fence is incorrect size");
struct IoctlAllocGpfifoEx {
u32_le num_entries{};
@@ -127,7 +127,7 @@ private:
u32_le num_entries{}; // in
u32_le flags{}; // in
u32_le unk0{}; // in (1 works)
- Fence fence_out{}; // out
+ NvFence fence_out{}; // out
u32_le unk1{}; // in
u32_le unk2{}; // in
u32_le unk3{}; // in
@@ -153,13 +153,13 @@ private:
BitField<4, 1, u32_le> suppress_wfi; // suppress wait for interrupt
BitField<8, 1, u32_le> increment; // increment the returned fence
} flags;
- Fence fence_out{}; // returned new fence object for others to wait on
+ NvFence fence_out{}; // returned new fence object for others to wait on
u32 AddIncrementValue() const {
return flags.add_increment.Value() << 1;
}
};
- static_assert(sizeof(IoctlSubmitGpfifo) == 16 + sizeof(Fence),
+ static_assert(sizeof(IoctlSubmitGpfifo) == 16 + sizeof(NvFence),
"IoctlSubmitGpfifo is incorrect size");
struct IoctlGetWaitbase {
@@ -194,7 +194,7 @@ private:
std::shared_ptr<nvmap> nvmap_dev;
SyncpointManager& syncpoint_manager;
- Fence channel_fence;
+ NvFence channel_fence;
};
} // namespace Service::Nvidia::Devices