diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-09-25 21:03:13 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-25 15:01:30 +0200 |
commit | a05120ec0b8b1827ebeffd4e78a553f7886fa178 (patch) | |
tree | 60612aff96b18c36bbb45b302d242339bce4c161 /src/video_core | |
parent | Shader_IR: allow lookup of texture samplers within the shader_ir for instructions that don't provide it (diff) | |
download | yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.tar yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.tar.gz yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.tar.bz2 yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.tar.lz yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.tar.xz yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.tar.zst yuzu-a05120ec0b8b1827ebeffd4e78a553f7886fa178.zip |
Diffstat (limited to 'src/video_core')
-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, (*bindless_samplers)[key] = sampler; } -bool ConstBufferLocker::IsConsistant() const { +bool ConstBufferLocker::IsConsistent() const { if (!IsEngineSet()) { return false; } 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: // Checks keys & samplers against engine's current const buffers. Returns true if they // are the same value, false otherwise; - bool IsConsistant() const; + bool IsConsistent() const; private: Tegra::Engines::ConstBufferEngineInterface* engine; |