Skip to content

Commit

Permalink
Remove clearBindings hack
Browse files Browse the repository at this point in the history
  • Loading branch information
bdero committed Oct 19, 2024
1 parent 2d39218 commit b2de4d1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions testing/dart/gpu_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ void drawTriangle(RenderPassState state, Vector4 color) {
transients.emplace(unlitUBO(Matrix4.identity(), color));
state.renderPass.bindVertexBuffer(vertices, 3);

// TODO(bdero): Overwrite bindings with the same slot so we don't need to clear.
// https://github.com/flutter/flutter/issues/155335
state.renderPass.clearBindings();

final gpu.UniformSlot vertInfo =
pipeline.vertexShader.getUniformSlot('VertInfo');
state.renderPass.bindUniform(vertInfo, vertInfoData);
Expand Down

0 comments on commit b2de4d1

Please sign in to comment.