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

Commit b63e6cf

Browse files
author
Jonah Williams
authored
[Impeller] dont include sampler offset in float offset (#37573)
1 parent 40b071c commit b63e6cf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

impeller/entity/contents/runtime_effect_contents.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ bool RuntimeEffectContents::Render(const ContentContext& renderer,
188188
uniform_slot.ext_res_0 = buffer_index;
189189
cmd.BindResource(ShaderStage::kFragment, uniform_slot, metadata,
190190
buffer_view);
191+
buffer_index++;
191192
break;
192193
}
193194
case kBoolean:
@@ -205,8 +206,6 @@ bool RuntimeEffectContents::Render(const ContentContext& renderer,
205206
<< ".";
206207
return true;
207208
}
208-
209-
buffer_index++;
210209
}
211210

212211
pass.AddCommand(std::move(cmd));

0 commit comments

Comments
 (0)