summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 14:54:42 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-07-18 14:54:42 +0200
commit43f57d668c04c7dde05b076919ae5755db0ff0ac (patch)
treed8ee8da3c76a0c224786670ff7a6d6cf0e42f80f /src/video_core/gpu.h
parentMaxwellDMA/KeplerCopy: Downgrade DMA log message to Trace. (diff)
downloadyuzu-43f57d668c04c7dde05b076919ae5755db0ff0ac.tar
yuzu-43f57d668c04c7dde05b076919ae5755db0ff0ac.tar.gz
yuzu-43f57d668c04c7dde05b076919ae5755db0ff0ac.tar.bz2
yuzu-43f57d668c04c7dde05b076919ae5755db0ff0ac.tar.lz
yuzu-43f57d668c04c7dde05b076919ae5755db0ff0ac.tar.xz
yuzu-43f57d668c04c7dde05b076919ae5755db0ff0ac.tar.zst
yuzu-43f57d668c04c7dde05b076919ae5755db0ff0ac.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index fe6628923..5a8b1c74a 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -194,7 +194,12 @@ public:
u32 semaphore_acquire;
u32 semaphore_release;
- INSERT_PADDING_WORDS(0xE4);
+ u32 fence_value;
+ union {
+ BitField<4, 4, u32> operation;
+ BitField<8, 8, u32> id;
+ } fence_action;
+ INSERT_PADDING_WORDS(0xE2);
// Puller state
u32 acquire_mode;
@@ -274,6 +279,8 @@ ASSERT_REG_POSITION(semaphore_trigger, 0x7);
ASSERT_REG_POSITION(reference_count, 0x14);
ASSERT_REG_POSITION(semaphore_acquire, 0x1A);
ASSERT_REG_POSITION(semaphore_release, 0x1B);
+ASSERT_REG_POSITION(fence_value, 0x1C);
+ASSERT_REG_POSITION(fence_action, 0x1D);
ASSERT_REG_POSITION(acquire_mode, 0x100);
ASSERT_REG_POSITION(acquire_source, 0x101);