Shader_IR: Change name of TrackSampler function so it does not confuse with the type.

This commit is contained in:
Fernando Sahmkow 2020-01-08 15:59:21 -04:00 committed by FernandoS27
parent 3919b7b8a9
commit 806f569143
3 changed files with 10 additions and 7 deletions

View file

@ -393,7 +393,7 @@ const Sampler* ShaderIR::GetBindlessSampler(Tegra::Shader::Register reg, Node& i
std::optional<SamplerInfo> sampler_info) {
const Node sampler_register = GetRegister(reg);
const auto [base_node, tracked_sampler_info] =
TrackSampler(sampler_register, global_code, static_cast<s64>(global_code.size()));
TrackBindlessSampler(sampler_register, global_code, static_cast<s64>(global_code.size()));
ASSERT(base_node != nullptr);
if (base_node == nullptr) {
return nullptr;