diff options
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 | |||
| 86 | u64 offset) const { | 86 | u64 offset) const { |
| 87 | ASSERT(stage == ShaderType::Compute); | 87 | ASSERT(stage == ShaderType::Compute); |
| 88 | const auto& tex_info_buffer = launch_description.const_buffer_config[const_buffer]; | 88 | const auto& tex_info_buffer = launch_description.const_buffer_config[const_buffer]; |
| 89 | const GPUVAddr tex_info_address = | 89 | const GPUVAddr tex_info_address = tex_info_buffer.Address() + offset; |
| 90 | tex_info_buffer.Address() + offset; | ||
| 91 | 90 | ||
| 92 | const Texture::TextureHandle tex_handle{memory_manager.Read<u32>(tex_info_address)}; | 91 | const Texture::TextureHandle tex_handle{memory_manager.Read<u32>(tex_info_address)}; |
| 93 | const Texture::FullTextureInfo tex_info = GetTextureInfo(tex_handle, offset); | 92 | const Texture::FullTextureInfo tex_info = GetTextureInfo(tex_handle, offset); |