1
0
Fork 0
forked from suyu/suyu

Shader_IR: Clang format

This commit is contained in:
Fernando Sahmkow 2019-09-30 20:55:25 -04:00 committed by FernandoS27
parent 78f3e8a757
commit e3afd6595a

View file

@ -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 = const GPUVAddr tex_info_address = tex_info_buffer.Address() + offset;
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);