Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typos #578

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Typos #578

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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