Connor Fitzgerald
1d2a667b71
Fix trying to use a renderpass inside a compute pass ( #3828 )
...
* Fix trying to use a renderpass inside a compute pass
* Fix pipeline statistics test on mac
* Changelog
2023-06-05 09:05:59 -04:00
Jim Blandy
4478c52deb
wgpu-core: Move Device resource methods into device::resource.
2023-05-24 09:54:03 -07:00
Jim Blandy
286d625428
wgpu-core: Move device/mod.rs's Global impl to device/global.rs.
2023-05-24 09:54:03 -07:00
Jim Blandy
55e3558db4
wgpu-core: Move Resource trait to resource module.
2023-05-24 09:54:03 -07:00
Jim Blandy
4d1fbeb753
wgpu-core: Move storage code to new storage module.
2023-05-24 09:54:03 -07:00
Jim Blandy
17d5361879
wgpu-core: Move registry code to new registry module.
2023-05-24 09:54:03 -07:00
Jim Blandy
29914b308f
wgpu-core: Move identity code to new identity module.
2023-05-24 09:54:03 -07:00
Jim Blandy
13bd3eea55
wgpu-core: Move HalAPI to new hal_api module.
2023-05-24 09:54:03 -07:00
Jim Blandy
f00e6b70ea
wgpu-core: Move Global to new global module.
2023-05-24 09:54:03 -07:00
Malek
dafc189d6b
Fix multiview rendering ( #3779 )
2023-05-19 00:03:57 -04:00
Erich Gubler
0f0044f358
fix(wgpu-core)!: use u32 indices for bind group layouts everywhere ( #3743 )
2023-05-03 20:56:54 -04:00
Jim Blandy
49800337d1
Define wgpu_core::Global::create_render_bundle_error. ( #3746 )
2023-05-03 14:17:18 -07:00
Erich Gubler
3e562aaeaa
docs: note feature req. for Depth32FloatStencil8 ( #3734 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-05-03 10:08:52 +00:00
Timo Kösters
4220a42139
Fix typo ( #3719 )
...
The error previously printed "otherusages" without a space
2023-04-28 23:15:08 +02:00
Erich Gubler
2571af9557
refactor: resolve clippy::redundant_clone ( #3717 )
2023-04-24 17:07:08 +02:00
Connor Fitzgerald
011a4e26d0
Release v0.16.0 ( #3707 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-19 22:06:21 +00:00
daxpedda
85fc427470
Adjust internal canvas size on Surface::configure() ( #3690 )
2023-04-19 21:09:31 +00:00
Jinlei Li
62ea7813e4
Implement Features::RG11B10UFLOAT_RENDERABLE ( #3701 )
2023-04-19 13:34:29 +02:00
Nicolas Silva
4035748c83
Update naga to 0.11.0@git:b9c5cb5a7841a8728137a58840fbbdbb9b310267 ( #3705 )
2023-04-19 10:54:40 +02:00
François
7c25c00f07
reject binding type multisampled when on a float filterable sample type ( #3686 )
2023-04-13 13:55:56 -04:00
Connor Fitzgerald
a7defb723f
Cleanups for WebGPU ( #3671 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-12 21:27:30 +00:00
Nicolas Silva
f3bf0f782e
Update naga to 0.11.0@git:f59668ccfaf7bdb3a7e43d84363a21c77357b2fe ( #3665 )
2023-04-11 14:13:16 +00:00
Connor Fitzgerald
51bf95bbd6
Make wgpu-core errors non-exhaustive ( #3652 )
...
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-07 19:18:29 +02:00
Teodor Tanasoaia
7fd129a535
[metal] Adapt code to work with the new per_entry_point_map ( #3524 )
2023-04-07 11:01:24 -04:00
Jim Blandy
711ab981b7
Document wgpu_core::hub::Hub locking rules. ( #3577 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-05 22:48:43 +00:00
Teodor Tanasoaia
6918cf33d4
[metal] Fix metal erroring on an array_stride of 0 ( #3538 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-04-05 22:40:15 +00:00
dependabot[bot]
a13ed91626
Bump bitflags from 1.3.2 to 2.0.2 ( #3606 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <connor@modyfi.io >
2023-04-05 22:24:59 +00:00
Lukas Herzberger
b6dbce740f
Implement resolve query set ( #3489
...
* implement command_encoder_resolve_query_set
* fix args
* add BufferUsages::QUERY_RESOLVE
* update changelog
* fix link text
* validate query resolve: check for QUERY_RESOLVE instead of CPY_DST
* update changelog, replace COPY_DST with QUERY_RESOLVE in mipmap example
2023-04-05 17:59:04 -04:00
Benjamin Schaaf
fdbbd02c1e
Properly drop surfaces ( #3647 )
...
Co-authored-by: Benjamin Schaaf <bschaaf@sublimetext.com >
Fixes #3646
2023-04-05 17:48:12 -04:00
Erich Gubler
c200597115
refactor: resolve clippy::useless_conversion
2023-03-27 19:24:16 +02:00
Emil Ernerfeldt
d20fc0d2b5
Fix typo I introduced in previous PR ( #3615 )
2023-03-22 14:44:54 +00:00
Emil Ernerfeldt
a89e35a4e0
Validate shader location clashes ( #3613 )
...
* Validate shader location clashes
* Add line to changelog
2023-03-22 14:56:52 +01:00
Connor Fitzgerald
0c3ca5c08b
Fix Metal Mipmap Behvior ( #3610 )
2023-03-21 16:37:30 +00:00
Jim Blandy
0772df798d
Don't emit ANSI colors in shader validation error messages. ( #3591 )
2023-03-14 22:35:02 -04:00
Jim Blandy
35b0a16a88
Update docs after #3466 . ( #3576 )
2023-03-10 17:49:19 +00:00
Teodor Tanasoaia
cf40e64b16
Change type of bytes_per_row and rows_per_image ( #3529 )
2023-03-06 16:44:36 -05:00
Teodor Tanasoaia
7e72f30179
Allow copying of textures with copy-compatible formats ( #3528 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-03-03 17:24:17 +00:00
Teodor Tanasoaia
ac689cbe1f
Update feature documentation ( #3534 )
2023-03-03 12:09:17 -05:00
Connor Fitzgerald
db3be88f90
Uppercase all error strings
2023-03-03 11:33:20 -05:00
Connor Fitzgerald
c98f4ed662
Improve RenderPass attachment errors
2023-03-03 11:33:20 -05:00
Connor Fitzgerald
38f1f0ede0
Improve RenderPass/RenderBundle compatibility errors
2023-03-03 11:33:20 -05:00
James Liu
6ee0d4c14d
Replace fxhash with rustc-hash ( #3502 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-03-01 18:46:38 +00:00
Teodor Tanasoaia
2a3a9bf013
Remove unused STORAGE_ATOMICS flag ( #3539 )
2023-03-01 13:27:41 -05:00
daxpedda
74303308cd
Make crate features no-op on incompatible targets ( #3466 )
...
* Make crate features no-op on incompatible targets
* Remove `portable_features`
* Test `--all-features` in CI
* Make `renderdoc` no-op on WASM
* Address review
2023-02-21 13:50:55 +01:00
Nicolas Silva
438d6394ef
Update naga to 0.11.0@git:9742f1616c3e3dd2cc9a5880616fc886c391bb9f ( #3512 )
...
* Update naga to 0.11.0@git:9742f1616c3e3dd2cc9a5880616fc886c391bb9f
* Mark the zero init workgroup test as passing.
2023-02-21 12:50:22 +01:00
Nicolas Silva
71ee61aa09
Update naga to 0.11.0@git:58105a06e2bd5aefeb9330984d47976e63c11dc4 ( #3506 )
2023-02-20 14:37:08 +00:00
Nicolas Silva
8f1db56fc0
Work around a clippy error ( #3505 )
2023-02-20 15:35:58 +01:00
Teodor Tanasoaia
074d1da831
Set the new naga capabilities ( #3494 )
...
* remove redundant flag
* set the `MULTISAMPLED_SHADING` downlevel flag for gles and dx11
* set the right naga capabilities
add `Features::SHADER_EARLY_DEPTH_TEST`
* add changelog entry
* remove `@early_depth_test` from water example
2023-02-16 22:43:38 -05:00
Nicolas Silva
bf38b4b0b1
Update naga to 0.11.0@git:568d7c4c136dada369ef7f59ee8414a263d6c7b2 ( #3491 )
...
* Update naga to 0.11.0@git:568d7c4c136dada369ef7f59ee8414a263d6c7b2
* Fix the clear_texture after naga update.
2023-02-16 15:24:24 +01:00
daxpedda
e4445205c2
Remove emscripten crate features ( #3467 )
2023-02-15 21:46:00 +00:00