Vecvec
27212104f8
Unify debug groups and markers.
2025-06-30 15:00:46 +02:00
Vecvec
6237dbf0b9
Unify timestamp writes.
2025-06-30 15:00:46 +02:00
Vecvec
afa96af76f
Unify set push constants.
2025-06-30 15:00:46 +02:00
Vecvec
acd8cb18bb
Unify rebinding resources.
2025-06-30 15:00:46 +02:00
Vecvec
4d36a02691
Unify set bind group.
2025-06-30 15:00:46 +02:00
Andy Leiserson
e936c065fc
Additional comments on render and compute pass encoding
2025-06-26 15:39:53 -07:00
Andy Leiserson
7722c341e0
Defer destroyed resource errors until cmdbuf submission
2025-06-26 15:39:53 -07:00
Andy Leiserson
fc26fbc561
Deferred error reporting for render passes
2025-06-26 15:39:53 -07:00
Andy Leiserson
460f073a67
Deferred error reporting for compute passes
2025-06-26 15:39:53 -07:00
Andy Leiserson
09c08037c9
Add a field in BasePass to store errors
2025-06-26 15:39:53 -07:00
Andy Leiserson
3a5d0f2747
Deferred error reporting for other command encoder operations
...
* clear commands
* query set functions
* command_encoder_as_hal_mut
* ray_tracing
2025-06-17 16:17:43 -07:00
Andy Leiserson
e702d1c116
Deferred error reporting for transfer commands
2025-06-17 16:00:49 -07:00
Andy Leiserson
620c9d1e8b
Deferred error reporting for debug commands ( #7789 )
2025-06-12 11:53:32 -07:00
Erich Gubler
cf83de3a5d
chore!: remove deprecated type aliases for idents. in 2024-08 spec. rename ( #7790 )
...
This backs out commit 9436d56271 .
2025-06-12 09:55:00 -04:00
Vecvec
aa427de4ea
Remove unsafe acceleration structure build ( #7513 )
2025-06-12 00:43:03 -04:00
Vecvec and Connor Fitzgerald
73eb83ded1
[wgpu] Blas compaction ( #7285 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2025-06-11 21:40:10 -04:00
Vecvec
efbac5dfba
Add extra acceleration structure vertex formats. ( #7580 )
2025-06-11 18:17:14 -04:00
Andy Leiserson
ce89c916f8
Add storage for an error in CommandEncoderStatus ( #7785 )
2025-06-11 09:56:14 -07:00
Andy Leiserson
24f779696b
Tweak MapPassErr to work for both errors and results ( #7780 )
2025-06-10 10:26:36 -07:00
Andy Leiserson
77d2b0017a
Split EncoderStateError from CommandEncoderError ( #7779 )
2025-06-10 09:46:30 -07:00
Andy Leiserson
d9c4bf22ea
Panic on errors in pass_end_with_unresolved_commands ( #7765 )
2025-06-09 11:28:43 -07:00
Andy Leiserson
3cca5f8cfd
Make the copy_buffer_to_buffer size parameter optional ( #7659 )
...
* Make wgpu-core's copy_buffer_to_buffer `size` parameter optional
* Make the copy size optional in more places
* Fix for webgpu backend
* [deno_webgpu] Support additional copyBufferToBuffer signatures
* Add changelog entry
* Add copyBufferToBuffer tests to CTS test list
(This doesn't actually enable the tests for the new overloads, because
of a different error reporting issue that affects many CTS tests
including these. But if you run the tests for the new overloads
manually, before and after the fix, you can see that the behavior has
changed.)
* Reproducible formula for vendoring modified webgpu-sys
Commit the updated vendor command in all the files for consistency.
2025-05-28 17:21:19 +02:00
Amogh Shivaram
55725d6483
Destroy texture views in clear_mode when destroying texture ( #7705 )
2025-05-19 22:44:25 -04:00
Connor Fitzgerald
9fccdf5cf3
Extract texture <-> buffer copy logic to wgpu-types ( #7553 )
2025-04-28 21:15:59 +00:00
teoxoy
d714e3d95a
[d3d12,metal,gl] add support for rendering to slices of 3D textures
2025-04-25 12:39:45 +02:00
teoxoy
15477b84a9
[wgpu-hal] make begin_render_pass fallible
2025-04-25 12:39:45 +02:00
teoxoy
5ecc48d494
add RenderPassColorAttachment::depth_slice
2025-04-25 12:39:45 +02:00
Ebbe Steenhoudt
7cab1747ee
Loosen Viewport validation requirements to match the new specs ( #7564 )
2025-04-18 15:17:53 +02:00
Teodor Tanasoaia
78d05f5f71
[core] check that indirect buffers have not been destroyed ( #7534 )
2025-04-14 11:06:32 -04:00
Vecvec
8010203281
Rework acceleration structure build tracking.
2025-04-09 22:27:04 -04:00
Vecvec
1c4b73c098
Implement as_hal for BLASes and TLASes ( #7303 )
2025-04-09 14:50:43 -04:00
Vecvec
e8e66afb72
Fix new acceleration structure building validation errors. ( #7486 )
2025-04-07 15:17:06 +02:00
Connor Fitzgerald
c344bec508
Comments
2025-04-03 10:35:20 -04:00
Connor Fitzgerald
6a986f4bc4
Timestamp normalization
2025-04-03 10:35:20 -04:00
Josh Groves
ab38e8e430
Avoid overflows for extreme scissor coordinates ( #7459 )
2025-04-01 09:47:39 -04:00
teoxoy
7d15c511de
move indirect validation code to its own folder
...
rename items appropriately
internalize indirect buffer bind groups
2025-03-26 18:26:31 +00:00
teoxoy
ef622c1061
validate multi draw indirect calls
2025-03-26 18:26:31 +00:00
teoxoy
0285e60984
Replace the indirect-validation feature with InstanceFlags::VALIDATION_INDIRECT_CALL.
...
With the only caveat that device creation will now panic if the `wgsl` feature is not enabled, `InstanceFlags::VALIDATION_INDIRECT_CALL` is set and the device supports `DownlevelFlags::INDIRECT_EXECUTION`.
2025-03-26 18:26:31 +00:00
teoxoy
53c2d15e0b
implement indirect draw validation
2025-03-26 18:26:31 +00:00
Bruce Mitchener
edd0ef80af
Fix clippy::manual_repeat_n lints ( #7394 )
2025-03-22 16:18:34 +00:00
Vecvec
5b3266db23
Support getting hit vertex positions ( #7183 )
2025-03-04 20:06:44 +01:00
Erich Gubler
8774ab53d5
chore: remove std::mem::* imports now unnecessary with CORE_MSRV
...
`std::mem::{size,align}_of{,_val}` was added to `std::prelude` in Rust
1.80; see
[`rust`#123168](https://github.com/rust-lang/rust/pull/123168/ ).
2025-02-26 22:58:50 -05:00
Connor Fitzgerald
8fb09a5ad6
Move REPO_MSRV to 1.85 ( #7218 )
2025-02-24 23:39:34 -05:00
sagudev
705e3d60e7
[core] validate equal sample_count in copy_texture_to_texture
...
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
2025-02-23 15:05:55 +01:00
Kevin Reid
7bcbfe0712
wgpu-core: Adjust imports to allow no_std.
...
Dependencies on `std` that still exist:
* Locks
* `std::error::Error` (waiting for Rust 1.81)
* `std::os::raw::c_char` for FFI
* `thread_local` and `Backtrace` in `snatch`
2025-02-21 08:47:16 +01:00
Erich Gubler
6a01091397
move(core): s/create_compute_pass/begin_compute_pass/
2025-02-17 12:42:10 -05:00
Erich Gubler
25a51606d1
move(core): s/create_render_pass/begin_render_pass/
2025-02-17 12:42:10 -05:00
Erich Gubler
7510d7b929
fix: add cbindgen:ignore on conflicting monomorphizations
2025-02-14 12:18:41 -05:00
Teodor Tanasoaia
ef0e6f782a
deduplicate vertex buffer size validation ( #7124 )
2025-02-14 10:33:28 +01:00
Vecvec and Nicolas Silva
0922631125
Fix transform buffer when building blas ( #7062 )
...
Co-authored-by: Nicolas Silva <nical@fastmail.com >
2025-02-10 20:18:41 -05:00