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

Make Force Loop Bounding Optional #6662

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

cwfitzgerald
Copy link
Member

@cwfitzgerald cwfitzgerald commented Dec 5, 2024

Refactoring of #6520 with a different api.

Depends on #6661, but can be separated if desired.

cc @DJMcNab @jimblandy

Expected Review Experience: Review the last commit.

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Copy link
Contributor

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

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

I know my approval doesn't hold much weight, but this addresses the issue for us.

naga/tests/snapshots.rs Outdated Show resolved Hide resolved
wgpu/src/api/device.rs Outdated Show resolved Hide resolved
@cwfitzgerald cwfitzgerald force-pushed the cw/remove-kludge branch 2 times, most recently from 8508936 to 22802ff Compare December 6, 2024 02:09
Copy link
Contributor

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

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

Again, largely a token approval, but many thanks for pulling this together!

/// may allow shaders to see wider regions of the buffers than expected,
/// making such deferred initialization visible to the application.
pub bounds_checks: bool,
///
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing first line of docs here

wgpu-types/src/lib.rs Show resolved Hide resolved
wgpu-types/src/lib.rs Show resolved Hide resolved
wgpu/src/api/device.rs Outdated Show resolved Hide resolved
wgpu/src/api/device.rs Show resolved Hide resolved
@jimblandy jimblandy self-assigned this Dec 11, 2024
@cwfitzgerald cwfitzgerald merged commit 411ffa7 into gfx-rs:trunk Dec 16, 2024
27 checks passed
@cwfitzgerald cwfitzgerald deleted the cw/remove-kludge branch December 16, 2024 09:23
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.

4 participants