Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] dont include sampler offset in float offset #37573

Merged
merged 1 commit into from
Nov 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions impeller/entity/contents/runtime_effect_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ bool RuntimeEffectContents::Render(const ContentContext& renderer,
uniform_slot.ext_res_0 = buffer_index;
cmd.BindResource(ShaderStage::kFragment, uniform_slot, metadata,
buffer_view);
buffer_index++;
break;
}
case kBoolean:
Expand All @@ -206,8 +207,6 @@ bool RuntimeEffectContents::Render(const ContentContext& renderer,
<< ".";
return true;
}

buffer_index++;
}

pass.AddCommand(std::move(cmd));
Expand Down