summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_ir.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-12-11 18:07:30 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2019-12-12 00:53:16 +0100
commit271a3264f33766524224462537685b6e5c691f9d (patch)
treed97f52424561ab3abfac243f408e2b7e31d335de /src/video_core/shader/shader_ir.h
parentMerge pull request #3218 from FernandoS27/tess-gl (diff)
downloadyuzu-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 'src/video_core/shader/shader_ir.h')
-rw-r--r--src/video_core/shader/shader_ir.h4
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.