Browse Source

Shader_IR: Clang format

pull/15/merge
Fernando Sahmkow 6 years ago
committed by FernandoS27
parent
commit
e3afd6595a
  1. 3
      src/video_core/engines/kepler_compute.cpp

3
src/video_core/engines/kepler_compute.cpp

@ -86,8 +86,7 @@ SamplerDescriptor KeplerCompute::AccessBindlessSampler(ShaderType stage, u64 con
u64 offset) const { u64 offset) const {
ASSERT(stage == ShaderType::Compute); ASSERT(stage == ShaderType::Compute);
const auto& tex_info_buffer = launch_description.const_buffer_config[const_buffer]; 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::TextureHandle tex_handle{memory_manager.Read<u32>(tex_info_address)};
const Texture::FullTextureInfo tex_info = GetTextureInfo(tex_handle, offset); const Texture::FullTextureInfo tex_info = GetTextureInfo(tex_handle, offset);

Loading…
Cancel
Save