diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-18 08:54:42 -0400 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-18 08:54:42 -0400 |
commit | 43f57d668c04c7dde05b076919ae5755db0ff0ac (patch) | |
tree | d8ee8da3c76a0c224786670ff7a6d6cf0e42f80f /src/video_core/gpu.h | |
parent | 3a3fee5abff816758ea5070d54ed8f6252dc451e (diff) |
GPU: Add missing puller methods.
This adds some missing puller methods. We don't assert them as these are
nop operations for us.
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r-- | src/video_core/gpu.h | 9 |
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); |