summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdata.h
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-03-25 03:36:55 +0100
committerGitHub <noreply@github.com>2022-03-25 03:36:55 +0100
commit0608336c60c62b74af73422115ee0e0797362e8f (patch)
tree33c9b4d79130736839fc28030950d401bf4fd81b /src/core/hle/service/nvdrv/nvdata.h
parentMerge pull request #8068 from ameerj/shader-if-false (diff)
parentUpdate project license to GPL v3. (diff)
downloadyuzu-0608336c60c62b74af73422115ee0e0797362e8f.tar
yuzu-0608336c60c62b74af73422115ee0e0797362e8f.tar.gz
yuzu-0608336c60c62b74af73422115ee0e0797362e8f.tar.bz2
yuzu-0608336c60c62b74af73422115ee0e0797362e8f.tar.lz
yuzu-0608336c60c62b74af73422115ee0e0797362e8f.tar.xz
yuzu-0608336c60c62b74af73422115ee0e0797362e8f.tar.zst
yuzu-0608336c60c62b74af73422115ee0e0797362e8f.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..3069c3c80 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, "NvFence has wrong size");
enum class NvResult : u32 {
Success = 0x0,