Skip to content

Conversation

cwfitzgerald
Copy link
Member

@cwfitzgerald cwfitzgerald commented Aug 21, 2025

Connections

None

Description

This adds various functions for making dealing with mapping and other callbacks easier. Often you are working with a command buffer then want to map a buffer or do something when that command buffer is submitted. Normally you need to build some kind of infrastructure for this (I have many times) but this can be really easily be done by wgpu itself for very little cost.

image

Testing

Told GPT-5 to put together some tests as an experiment. I think it did okay.

Squash or Rebase?

Rebase me pls

Checklist

  • Baseline implementation
  • Improved code documentation
  • Validation tests
  • Better verbiage
  • Changelog

@cwfitzgerald cwfitzgerald force-pushed the cw/deferred-mapping branch 3 times, most recently from e910b48 to e42ba38 Compare August 22, 2025 03:03
@cwfitzgerald cwfitzgerald marked this pull request as ready for review August 22, 2025 03:03
@cwfitzgerald cwfitzgerald requested a review from a team as a code owner August 22, 2025 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants