Skip to content

Commit

Permalink
Merge branch 'main' into push-constant
Browse files Browse the repository at this point in the history
  • Loading branch information
fyellin committed Sep 12, 2024
2 parents 1294efa + ffb1aea commit 4ed2712
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion codegen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def main():

log = io.StringIO()
with PrintToFile(log):
print("# Code generatation report")
print("# Code generation report")
prepare()
update_api()
update_wgpu_native()
Expand Down
2 changes: 1 addition & 1 deletion docs/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Offscreen
+++++++++

If you render offscreen, or only do compute, you do not need a canvas. You also won't need a GUI toolkit, draw function or enter the event loop.
Instead, you will obtain a command encoder and submit it's records to the queue directly.
Instead, you will obtain a command encoder and submit its records to the queue directly.


Examples and external resources
Expand Down
2 changes: 1 addition & 1 deletion examples/compute_noop.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# %% The short version, using memoryview

# The first arg is the input data, per binding
# The second arg are the output types, per binding
# The second arg is the output types, per binding
out = compute_with_buffers({0: data}, {1: (n, "i")}, shader_source, n=n)

# The result is a dict matching the output types
Expand Down
2 changes: 1 addition & 1 deletion wgpu/resources/codegen_report.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code generatation report
# Code generation report
## Preparing
* The webgpu.idl defines 37 classes with 75 functions
* The webgpu.idl defines 5 flags, 34 enums, 60 structs
Expand Down

0 comments on commit 4ed2712

Please sign in to comment.