summaryrefslogtreecommitdiff
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-01-08 10:28:29 -0400
committerGravatar FernandoS272020-01-24 16:43:30 -0400
commitb97608ca646962a6f5a217b9477bdd86eed5e48f (patch)
tree28f43af9ca1f3dc4b97542a6bdaab95af687e036 /src/video_core/shader
parentShader_IR: Address Feedback (diff)
downloadyuzu-b97608ca646962a6f5a217b9477bdd86eed5e48f.tar.gz
yuzu-b97608ca646962a6f5a217b9477bdd86eed5e48f.tar.xz
yuzu-b97608ca646962a6f5a217b9477bdd86eed5e48f.zip
Shader_IR: Allow constant access of guest driver.
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/const_buffer_locker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/const_buffer_locker.h b/src/video_core/shader/const_buffer_locker.h
index c7b72fa5e..f5655ac64 100644
--- a/src/video_core/shader/const_buffer_locker.h
+++ b/src/video_core/shader/const_buffer_locker.h
@@ -81,7 +81,7 @@ public:
81 return bound_buffer; 81 return bound_buffer;
82 } 82 }
83 83
84 VideoCore::GuestDriverProfile* AccessGuestDriverProfile() { 84 VideoCore::GuestDriverProfile* AccessGuestDriverProfile() const {
85 if (engine) { 85 if (engine) {
86 return &(engine->AccessGuestDriverProfile()); 86 return &(engine->AccessGuestDriverProfile());
87 } 87 }