diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-01 02:55:25 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-25 15:01:32 +0200 |
commit | e3afd6595a3b7d67e554aaa21f929b64c9fe4b8b (patch) | |
tree | 03305d8605339c954e1fb48dad48623e991563a6 /src | |
parent | gl_shader_cache: Implement locker variants invalidation (diff) | |
download | yuzu-e3afd6595a3b7d67e554aaa21f929b64c9fe4b8b.tar yuzu-e3afd6595a3b7d67e554aaa21f929b64c9fe4b8b.tar.gz yuzu-e3afd6595a3b7d67e554aaa21f929b64c9fe4b8b.tar.bz2 yuzu-e3afd6595a3b7d67e554aaa21f929b64c9fe4b8b.tar.lz yuzu-e3afd6595a3b7d67e554aaa21f929b64c9fe4b8b.tar.xz yuzu-e3afd6595a3b7d67e554aaa21f929b64c9fe4b8b.tar.zst yuzu-e3afd6595a3b7d67e554aaa21f929b64c9fe4b8b.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/engines/kepler_compute.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/engines/kepler_compute.cpp b/src/video_core/engines/kepler_compute.cpp index 6f00db1c1..91adef360 100644 --- a/src/video_core/engines/kepler_compute.cpp +++ b/src/video_core/engines/kepler_compute.cpp @@ -86,8 +86,7 @@ SamplerDescriptor KeplerCompute::AccessBindlessSampler(ShaderType stage, u64 con u64 offset) const { ASSERT(stage == ShaderType::Compute); const auto& tex_info_buffer = launch_description.const_buffer_config[const_buffer]; - const GPUVAddr tex_info_address = - tex_info_buffer.Address() + offset; + const GPUVAddr tex_info_address = tex_info_buffer.Address() + offset; const Texture::TextureHandle tex_handle{memory_manager.Read<u32>(tex_info_address)}; const Texture::FullTextureInfo tex_info = GetTextureInfo(tex_handle, offset); |