mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-26 16:03:16 +00:00
nv_services: Correct buffer queue fencing and GPFifo fencing
This commit is contained in:
parent
feac2e189e
commit
6fd625d497
8 changed files with 70 additions and 57 deletions
25
src/core/hle/service/nvdrv/nvdata.h
Normal file
25
src/core/hle/service/nvdrv/nvdata.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue