diff options
| author | 2019-09-25 15:03:13 -0400 | |
|---|---|---|
| committer | 2019-10-25 09:01:30 -0400 | |
| commit | a05120ec0b8b1827ebeffd4e78a553f7886fa178 (patch) | |
| tree | 60612aff96b18c36bbb45b302d242339bce4c161 /src | |
| parent | Shader_IR: allow lookup of texture samplers within the shader_ir for instruct... (diff) | |
| download | yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.tar.gz yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.tar.xz yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.zip | |
Shader_IR: Correct typo in Consistent method.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/const_buffer_locker.cpp | 2 | ||||
| -rw-r--r-- | src/video_core/shader/const_buffer_locker.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/const_buffer_locker.cpp b/src/video_core/shader/const_buffer_locker.cpp index 4f5de8ae9..9d23bcecf 100644 --- a/src/video_core/shader/const_buffer_locker.cpp +++ b/src/video_core/shader/const_buffer_locker.cpp | |||
| @@ -107,7 +107,7 @@ void ConstBufferLocker::InsertBindlessSampler(u32 buffer, u32 offset, | |||
| 107 | (*bindless_samplers)[key] = sampler; | 107 | (*bindless_samplers)[key] = sampler; |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | bool ConstBufferLocker::IsConsistant() const { | 110 | bool ConstBufferLocker::IsConsistent() const { |
| 111 | if (!IsEngineSet()) { | 111 | if (!IsEngineSet()) { |
| 112 | return false; | 112 | return false; |
| 113 | } | 113 | } |
diff --git a/src/video_core/shader/const_buffer_locker.h b/src/video_core/shader/const_buffer_locker.h index 0bc257781..13eeba320 100644 --- a/src/video_core/shader/const_buffer_locker.h +++ b/src/video_core/shader/const_buffer_locker.h | |||
| @@ -87,7 +87,7 @@ public: | |||
| 87 | 87 | ||
| 88 | // Checks keys & samplers against engine's current const buffers. Returns true if they | 88 | // Checks keys & samplers against engine's current const buffers. Returns true if they |
| 89 | // are the same value, false otherwise; | 89 | // are the same value, false otherwise; |
| 90 | bool IsConsistant() const; | 90 | bool IsConsistent() const; |
| 91 | 91 | ||
| 92 | private: | 92 | private: |
| 93 | Tegra::Engines::ConstBufferEngineInterface* engine; | 93 | Tegra::Engines::ConstBufferEngineInterface* engine; |