summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-29 09:02:27 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-09 22:40:53 +0100
commit978172530ebdf487529bf5a9a7caf3e9ca9d0810 (patch)
tree612d562958862b6eb7879c96ccfeec0e9a21eec1 /src/video_core/engines/maxwell_3d.cpp
parentyuzu/loading_screen: Remove unused shader progress mode (diff)
downloadyuzu-978172530ebdf487529bf5a9a7caf3e9ca9d0810.tar
yuzu-978172530ebdf487529bf5a9a7caf3e9ca9d0810.tar.gz
yuzu-978172530ebdf487529bf5a9a7caf3e9ca9d0810.tar.bz2
yuzu-978172530ebdf487529bf5a9a7caf3e9ca9d0810.tar.lz
yuzu-978172530ebdf487529bf5a9a7caf3e9ca9d0810.tar.xz
yuzu-978172530ebdf487529bf5a9a7caf3e9ca9d0810.tar.zst
yuzu-978172530ebdf487529bf5a9a7caf3e9ca9d0810.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 89050361e..ce536e29b 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -638,7 +638,7 @@ SamplerDescriptor Maxwell3D::AccessBindlessSampler(ShaderType stage, u64 const_b
const Texture::TextureHandle tex_handle{memory_manager.Read<u32>(tex_info_address)};
const Texture::FullTextureInfo tex_info = GetTextureInfo(tex_handle);
- SamplerDescriptor result = SamplerDescriptor::FromTicTexture(tex_info.tic.texture_type.Value());
+ SamplerDescriptor result = SamplerDescriptor::FromTIC(tex_info.tic);
result.is_shadow.Assign(tex_info.tsc.depth_compare_enabled.Value());
return result;
}