Skip to content

Commit

Permalink
Fix error in case gpu_external_texture_expiration:use_import_to_refre…
Browse files Browse the repository at this point in the history
…sh:* (gpuweb#3887)

Fix the case error which set the expired/destroyed external texture wrongly.
  • Loading branch information
shaoboyan authored Aug 2, 2024
1 parent 921a510 commit 8ab018e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ g.test('use_import_to_refresh')
} else {
bindGroup = t.device.createBindGroup({
layout: t.getDefaultBindGroupLayout(),
entries: [{ binding: 0, resource: externalTexture }],
entries: [{ binding: 0, resource: mayBeTheSameExternalTexture }],
});
t.submitCommandBuffer(bindGroup, true);
}
Expand Down

0 comments on commit 8ab018e

Please sign in to comment.