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

multi_draw_indirect_counter #594

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

multi_draw_indirect_counter #594

wants to merge 4 commits into from

Conversation

fyellin
Copy link
Contributor

@fyellin fyellin commented Sep 20, 2024

Implementation of the final two functions.
Fix some typos I had previous made.

@fyellin
Copy link
Contributor Author

fyellin commented Sep 20, 2024

This code is working now, but it wasn't working an hour ago, and I didn't really do anything to fix it. I want to make sure I understand what's going on before this is merged. But it's rather straightforward code.

Equivalent to::
count = min(<u32 at count_buffer_offset in count_buffer>, max_count)
for i in range(count):
render_pass_encoder.draw_indirect(buffer, offset + i * 16)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Help! Sphinx is complaining about bad indentation here and on line 222. Surprisingly there is no complaint about the previous two occurrences of this line. Something to do with the <> on line 205?

I can't find any reasonable documentation on sphinx. How do I fix this??

@fyellin
Copy link
Contributor Author

fyellin commented Sep 20, 2024

The naga bug is back.

… works when we do the bug_patch, but not otherwise.
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.

1 participant