diff options
| author | 2020-01-08 11:46:36 -0400 | |
|---|---|---|
| committer | 2020-01-24 16:43:30 -0400 | |
| commit | 64496f24569ecc23ebbb816725f27142867b1468 (patch) | |
| tree | e7dd660d9bdf3afc7a90a35314c18b29792e119a /src/video_core/rasterizer_interface.h | |
| parent | Shader_IR: Allow constant access of guest driver. (diff) | |
| download | yuzu-64496f24569ecc23ebbb816725f27142867b1468.tar.gz yuzu-64496f24569ecc23ebbb816725f27142867b1468.tar.xz yuzu-64496f24569ecc23ebbb816725f27142867b1468.zip | |
Shader_IR: Address Feedback
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 1b0cc56f1..c586cd6fe 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -80,10 +80,12 @@ public: | |||
| 80 | virtual void LoadDiskResources(const std::atomic_bool& stop_loading = false, | 80 | virtual void LoadDiskResources(const std::atomic_bool& stop_loading = false, |
| 81 | const DiskResourceLoadCallback& callback = {}) {} | 81 | const DiskResourceLoadCallback& callback = {}) {} |
| 82 | 82 | ||
| 83 | /// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver. | ||
| 83 | GuestDriverProfile& AccessGuestDriverProfile() { | 84 | GuestDriverProfile& AccessGuestDriverProfile() { |
| 84 | return guest_driver_profile; | 85 | return guest_driver_profile; |
| 85 | } | 86 | } |
| 86 | 87 | ||
| 88 | /// Grant access to the Guest Driver Profile for recording/obtaining info on the guest driver. | ||
| 87 | const GuestDriverProfile& AccessGuestDriverProfile() const { | 89 | const GuestDriverProfile& AccessGuestDriverProfile() const { |
| 88 | return guest_driver_profile; | 90 | return guest_driver_profile; |
| 89 | } | 91 | } |