diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-12-11 18:07:30 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-12-12 00:53:16 +0100 |
commit | 271a3264f33766524224462537685b6e5c691f9d (patch) | |
tree | d97f52424561ab3abfac243f408e2b7e31d335de /src/video_core/shader/shader_ir.h | |
parent | Merge pull request #3218 from FernandoS27/tess-gl (diff) | |
download | yuzu-271a3264f33766524224462537685b6e5c691f9d.tar yuzu-271a3264f33766524224462537685b6e5c691f9d.tar.gz yuzu-271a3264f33766524224462537685b6e5c691f9d.tar.bz2 yuzu-271a3264f33766524224462537685b6e5c691f9d.tar.lz yuzu-271a3264f33766524224462537685b6e5c691f9d.tar.xz yuzu-271a3264f33766524224462537685b6e5c691f9d.tar.zst yuzu-271a3264f33766524224462537685b6e5c691f9d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 580f84fcb..8324432ae 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -313,11 +313,11 @@ private: std::optional<u32> buffer = std::nullopt); /// Accesses a texture sampler - const Sampler& GetSampler(const Tegra::Shader::Sampler& sampler, + const Sampler* GetSampler(const Tegra::Shader::Sampler& sampler, std::optional<SamplerInfo> sampler_info = std::nullopt); /// Accesses a texture sampler for a bindless texture. - const Sampler& GetBindlessSampler(Tegra::Shader::Register reg, + const Sampler* GetBindlessSampler(Tegra::Shader::Register reg, std::optional<SamplerInfo> sampler_info = std::nullopt); /// Accesses an image. |