Andy Leiserson and Connor Fitzgerald
2c3e503258
test: Improve tracking of slow tests ( #10429 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2026-09-27 21:09:48 +00:00
Kevin Reid
d0ecda96cd
Replace wgpu-macros package with use of macro_rules_attribute. ( #9963 )
2026-07-30 06:16:43 -04:00
k9
35743f2848
Playwright wasm tests ( #9114 )
2026-06-29 14:31:39 -04:00
Andy Leiserson
4471e9d415
chore(deps): Remove unused dependency ctor ( #9547 )
2026-05-20 17:23:50 +02:00
Kevin Reid
1148bac37c
Convert comments on lint attributes to reasons. ( #9292 )
2026-03-24 18:58:52 +00:00
Connor Fitzgerald and Kevin Reid
b94c194bc9
Convert error scopes to use thread-local guards ( #8595 )
...
Co-authored-by: Kevin Reid <kpreid@switchb.org >
2025-12-02 19:11:55 +00:00
Jamie Nicol
486c151772
[dx12,vulkan] Add support for P010 texture format ( #8086 )
...
P010 is a 4:2:0 chroma subsampled planar format, similar to NV12. Each
component uses 16 bits of storage, of which only the high 10 bits are
used. On DX12 this maps to DXGI_FORMAT_P010, and on Vulkan this maps to
G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16.
The existing "nv12" gpu test module has been renamed to
"planar_texture", and a new test P010_TEXTURE_CREATION_SAMPLING has
been added similar to the existing NV12_TEXTURE_CREATION_SAMPLING. The
remaining tests in this module have been converted to validation tests,
and now test both NV12 and P010 formats.
2025-08-13 15:35:20 +02:00
Connor Fitzgerald
09d0c94576
Use explicit test enumeration
2025-08-01 01:54:01 -04:00
Erich Gubler
cc0f4ac4bf
refactor(wgpu)!: use WebGpuError for error classification
2025-06-30 10:58:56 -04:00
Erich Gubler
43eee99b29
refactor: extract did_fill_error_scope test helper from did_fail
2025-06-30 10:58:56 -04: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
Connor Fitzgerald
a9e93f9acb
Update missed dependencies
2025-04-22 12:04:36 -04:00
@brody4hire - C. Jonathan Brody
ea4d18c108
cleanup: resolve spelling errors in test comments ( #7028 )
2025-01-29 23:49:26 +00:00
Connor Fitzgerald
436f716715
Unconditionally Generate Bindless Samplers in DX12 ( #6766 )
2025-01-21 14:24:03 -05:00
Connor Fitzgerald
4ed5021996
Ban Dynamic Offsets and Binding Arrays in the Same Bind Group ( #6811 )
...
* Ban Dynamic Offsets and Binding Arrays in the Same Bind Group
* Add Tests and Uniform Buffer Restriction
2025-01-20 13:28:32 -05:00
Jim Blandy and Erich Gubler
15d64c362e
Make wgpu_test::valid print errors it detects. ( #6136 )
...
* Make `wgpu_test::valid` print errors it detects.
When a block passed to `wgpu_test::valid` actually raises validation
errors, include the full error in the panic message.
---------
Co-authored-by: Erich Gubler <erichdongubler@gmail.com >
2024-08-23 14:17:28 +00:00
Erich Gubler
94dba0b026
test: add expected msg. arg. to wgpu_test::fail{,_if}
2024-05-21 17:16:06 -04:00
dependabot[bot] and Connor Fitzgerald
744454b9e2
Bump Many Dependencies and MSRV ( #5241 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2024-02-27 14:43:05 -05:00
Connor Fitzgerald and Andreas Reich
ad625f433f
Convert Tests to Use Async Poll ( #5053 )
...
* Convert Tests to Use Async Poll
* Update examples/src/repeated_compute/mod.rs
Co-authored-by: Andreas Reich <r_andreas2@web.de >
---------
Co-authored-by: Andreas Reich <r_andreas2@web.de >
2024-01-13 17:34:51 +00:00
Connor Fitzgerald
3c261f3652
Allow Tests to Expect Certain Panic or Validation Messages ( #4748 )
2023-11-23 03:49:01 -05:00
Connor Fitzgerald
543f921639
GPU Test Framework ( #3873 )
2023-10-19 12:06:42 -04:00
Nicolas Silva and Connor Fitzgerald
f95d1c55e3
Expose Instance flags ( #4230 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-10-11 17:39:04 +00:00
Kevin Reid
7c575a0b40
Add details to RequestDeviceError. ( #4145 )
2023-09-16 00:16:49 -04:00
Jim Blandy and Connor Fitzgerald
54a7f0eac9
Skip test_multithreaded_compute on MoltenVK. ( #4096 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-09-04 03:54:39 +00:00
Kevin Reid and Connor Fitzgerald
332cd0325d
Add details to InstanceError and CreateSurfaceError. ( #4066 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-09-01 01:48:31 -04:00
Pieter-Jan Briers
e973a06268
Allow specifying minor GLES3 version ( #3998 )
2023-08-16 11:51:56 -04:00
Connor Fitzgerald
311065100b
Vulkan portability in CI ( #3964 )
2023-07-23 07:35:57 +00:00
Fredrik Fornwall
1c43272d2a
Remove backend_bits from initialize_adapter_from_env ( #3904 )
...
Remove backend_bits from initialize_adapter_from_env, backends can
be specified using the backends field in InstanceDescriptor instead.
2023-07-05 18:21:39 +02:00
Connor Fitzgerald and Connor Fitzgerald
10172e1f38
Move Examples and Tests to Their Own Crates ( #3841 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-06-10 18:35:46 +00:00