diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-07 17:34:55 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-05 21:49:10 +0200 |
commit | 737e978f5b1440a044ef90f346c8616c2de49a81 (patch) | |
tree | 42b3c99171a3929f64db141db81193a0067b3523 /src/core/hle/service/nvdrv/nvdata.h | |
parent | nvflinger: Implement swap intervals (diff) | |
download | yuzu-737e978f5b1440a044ef90f346c8616c2de49a81.tar yuzu-737e978f5b1440a044ef90f346c8616c2de49a81.tar.gz yuzu-737e978f5b1440a044ef90f346c8616c2de49a81.tar.bz2 yuzu-737e978f5b1440a044ef90f346c8616c2de49a81.tar.lz yuzu-737e978f5b1440a044ef90f346c8616c2de49a81.tar.xz yuzu-737e978f5b1440a044ef90f346c8616c2de49a81.tar.zst yuzu-737e978f5b1440a044ef90f346c8616c2de49a81.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdata.h')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdata.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/nvdata.h b/src/core/hle/service/nvdrv/nvdata.h new file mode 100644 index 000000000..7e1dce232 --- /dev/null +++ b/src/core/hle/service/nvdrv/nvdata.h @@ -0,0 +1,25 @@ +#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 |