diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-01-24 15:44:34 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2020-01-25 14:04:59 +0100 |
commit | bb8eb15d392d69693f8cda0427669d011e23db97 (patch) | |
tree | cebd080530de75e7b5400f46c25c307a80e3c222 /src/video_core/shader/const_buffer_locker.h | |
parent | Shader_IR: Change name of TrackSampler function so it does not confuse with the type. (diff) | |
download | yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.gz yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.bz2 yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.lz yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.xz yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.zst yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.zip |
Diffstat (limited to 'src/video_core/shader/const_buffer_locker.h')
-rw-r--r-- | src/video_core/shader/const_buffer_locker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/const_buffer_locker.h b/src/video_core/shader/const_buffer_locker.h index fd1bb476a..d3ea11087 100644 --- a/src/video_core/shader/const_buffer_locker.h +++ b/src/video_core/shader/const_buffer_locker.h @@ -77,10 +77,12 @@ public: return bindless_samplers; } + /// Gets bound buffer used on this shader u32 GetBoundBuffer() const { return bound_buffer; } + /// Obtains access to the guest driver's profile. VideoCore::GuestDriverProfile* AccessGuestDriverProfile() const { if (engine) { return &engine->AccessGuestDriverProfile(); |