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
Pieter-Jan Briers
e973a06268
Allow specifying minor GLES3 version ( #3998 )
2023-08-16 11:51:56 -04:00
Aaron Hill and Connor Fitzgerald
fd5550cc89
Make RequestAdapterOptions.power_preference optional ( #3903 )
...
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2023-07-19 21:04:31 +00: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
Jim Blandy
29914b308f
wgpu-core: Move identity code to new identity 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
Elabajaba
81569dd6c3
Updated Dxc integration for DX12 backend ( #3356 )
...
Co-authored-by: unknown <alimilhim5@gmail.com >
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
Closes https://github.com/gfx-rs/wgpu/issues/2722
closes https://github.com/gfx-rs/wgpu/pull/3147
2023-01-18 21:25:56 +00:00
Nicolas Silva
d1ff3838b8
Expose the full Result type to the rust map_async callback ( #2939 )
2022-10-13 15:41:52 -04:00
Connor Fitzgerald and Jim Blandy
5bd0a6c4ac
Implement submission indexes ( #2700 )
...
* Implement submission indexes
* Write some unit tests for poll
* Update wgpu/src/lib.rs
Co-authored-by: Jim Blandy <jimb@red-bean.com >
* Unify Maintain in both wgc and wgpu
Co-authored-by: Jim Blandy <jimb@red-bean.com >
2022-06-05 17:22:25 -04:00
Connor Fitzgerald
32af4f5607
Convert map_async from being async to being callback based ( #2698 )
2022-05-31 11:22:21 -04:00
Dzmitry Malyshau
cdf948b920
Fix and re-enable player tests
2021-12-03 17:11:26 -05:00
Dzmitry Malyshau
1ee6036f44
Implement software adapter selection
2021-10-01 17:22:51 -04:00
Dzmitry Malyshau
97d6db4d18
Allow if/panic in wgpu-hal
2021-10-01 16:22:51 -04:00
Dzmitry Malyshau
568ac3fa24
Switch all bitflag names to plural
2021-06-30 14:43:36 -04:00
Andreas Reich
a745383516
Do multiple queries in pipeline-statistics-query test
2021-06-27 11:20:53 +02:00
Gordon-F
2873ac32d9
Remove MPL 2.0 header in files
2021-06-19 21:06:08 +03:00
Luca Casonato
751aa714f4
fix: zeroable buffer_get_mapped_range size
...
According to spec, size can be Some(0).
2021-05-06 22:03:43 -04:00
Connor Fitzgerald
cf6f9c3ca8
Move from tracing to log + profiling
2021-03-17 01:22:30 -04:00
Luca Casonato
82932d1f59
chore: validate offset + size in get_mapped_range ( #1266 )
...
* chore: validate offset + size in get_mapped_range
This commit introduces out of bounds & offset validation for
buffer_get_mapped_range, like described in the WebGPU spec. See
https://gpuweb.github.io/gpuweb/#dom-gpubuffer-getmappedrange .
Closes #818
* review comments
* fmt
* fix test
* fix tests
* update error message
* review comment
* use wgt::BufferAddress
* clippy
2021-03-16 13:00:44 -04:00
Andreas Reich
52aee1a037
Better error output for player test
2021-02-03 23:44:50 +01:00
Dzmitry Malyshau
f07cc8156b
Update naga and gfx, move the shader validation into a shader descriptor bit
2020-12-17 11:33:47 -05:00
Dzmitry Malyshau
dccc57e7b5
Switch playtests to WGSL
2020-12-06 14:51:23 -05:00
Dzmitry Malyshau
749f737c89
Add pervasive Naga support to shader module loading
...
The purpose of the PR is to support Naga modules everywhere.
As a requirement, it updates the gfx-rs version used.
Most of the logic is dedicated towards building a shader interface,
where previously we just used naga's IR. Now we have our own mini-IR.
2020-12-05 11:31:03 -05:00
Dzmitry Malyshau
55851add9b
player: use the wgpu-cores's gfx-select macro
2020-11-26 14:47:48 -05:00
Dzmitry Malyshau
c6bc37dbde
[error] render bundles
2020-11-23 12:00:47 -05:00
Dzmitry Malyshau
ad824de268
[error] bind groups and layouts creation
2020-11-23 11:57:32 -05:00
frbimo
fdd561e69e
remove PowerPreference::Default
...
Signed-off-by: frbimo <fr.bimo@gmail.com >
2020-10-12 19:17:44 +08:00
Dzmitry Malyshau
eed8bf84ef
Playtest for binding a group
2020-09-04 23:47:24 -04:00
Noah Charlton
d05d1aeec1
Add Quad play test
2020-09-01 16:07:24 -04:00
Dzmitry Malyshau
dbd7e2c579
Separate valid internal IDs from external ones
2020-08-04 11:16:59 -04:00
Marvin Löbel
4ed2c0a313
Replace borrowed slices in Descriptor structs with copy on write slices ( #822 )
...
* Replace &[T] in descriptor structs with Cow<[T]>
* Changed label fields to use Cow<'a, str>
* Deduplicate types across the tracing API
Introduce the ToStatic trait
* Deduplicate trace::RenderBundleDescriptor
* Remove ugly ToOwned bounds
* Simplifiy Action variants
* Make Clone bounds on type defs less verbose
* Fix a error in play.rs
* Remove ToStatic, and Make Action<'a> borrow descriptors instead
2020-07-20 12:31:05 -04:00
Gabriel Majeri
ec12d9547d
Error types for buffer mapping API
2020-07-20 07:22:52 +03:00
Gabriel Majeri
fc460f4eab
Propagate WaitIdleError up through the API
2020-07-18 20:39:11 +03:00
Dzmitry Malyshau
eb7bdcd012
playtest: move the actions together with expectations
2020-07-17 10:59:02 -04:00
Dzmitry Malyshau
acef9206a6
Player-based GPU test framework
2020-07-17 00:08:43 -04:00