summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-07-25 18:34:36 +0200
committerGitHub <noreply@github.com>2019-07-25 18:34:36 +0200
commit31e8a61527df805529a9c0bbda735be7cb9e38c9 (patch)
tree5edfff9af910daa29753b224c7f68013eb05f61b /src/video_core/gpu.h
parentMerge pull request #2704 from FernandoS27/conditional (diff)
parentShader_Ir: Change Debug Asserts for Log Warnings (diff)
downloadyuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar
yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.gz
yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.bz2
yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.lz
yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.xz
yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.zst
yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.zip
Diffstat (limited to 'src/video_core/gpu.h')
-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 0ace0ff4f..0055e5326 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -200,7 +200,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;
@@ -280,6 +285,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);