Dzmitry Malyshau
5f57c9eae2
Move the shader validation logic into a module
2020-06-06 23:21:42 -04:00
Dzmitry Malyshau
15cdc794fa
Shader binding validation
2020-06-05 12:48:34 -04:00
Dzmitry Malyshau
7181bfe977
Move BufferSize to wgpu-types
2020-05-30 01:19:42 -04:00
Paul Kernfeld and Paul Kernfeld
d529526e7f
"Use the whole buffer" is !0 , not 0 ( #663 )
...
* "Use the whole buffer" is !0 , not 0
Fixes #654
Applies to BufferBinding, set_vertex_buffer, set_index_buffer
* Add BufferSize type alias
* Make BufferSize a transparent type
Add a custom serialization "buddy" type
Use BufferSize::WHOLE instead of crate::WHOLE_SIZE
* Move SerBufferSize into device::trace mod
Co-authored-by: Paul Kernfeld <paulkernfeld@gmail.com >
2020-05-26 13:25:06 -04:00
Paul Kernfeld
29a4cee002
Add a loom test for RefCount
2020-05-06 13:53:57 -04:00
Dzmitry Malyshau
5035ffdfe2
Split limits and private features, add tracing module
2020-04-30 09:55:52 -04:00
Dzmitry Malyshau
5e458b5d45
Separate public usage from internal use ( #601 )
2020-04-21 09:12:40 -04:00
Dzmitry Malyshau
a3aefe2535
Rustfmt stable pass
2020-04-06 08:55:39 -04:00
Dzmitry Malyshau
8aeeb8e318
Port to gfx-extras and gfx-hal-0.5
2020-03-27 00:54:01 -04:00
Joshua Groves
b9259c0c8c
Move more types into wgpu-types
2020-03-16 23:57:50 -02:30
Joshua Groves
b58c15815b
Move more shared types into wgpu-types
2020-03-14 23:08:05 -02:30
Joshua Groves
9940aef599
Move some types into shared wgpu-types crate
2020-03-10 22:36:23 -02:30
Dzmitry Malyshau
ab416bcc68
All the missing Gecko fixes
2020-02-09 20:15:55 -05:00
daxpedda
cd8e2a30b2
Duplicate DeviceType from gfx-hal.
2020-01-26 23:09:58 +01:00
Dzmitry Malyshau
941fcca08d
Raw render pass encoding
2020-01-13 16:52:58 -05:00
Aaron Loucks
5ca57374f6
Check power/battery status when selecting adaptors
...
PowerPreference::Default will now prefer discrete GPUs
when on AC power and will prefer integrated GPUs while
on battery power (i.e. the battery is discharging).
2020-01-12 17:26:54 -05:00
Dzmitry Malyshau
59a9d14c81
Suspect unlinked resources used in submissions
2020-01-08 18:14:07 -05:00
Dzmitry Malyshau
bf8c9fe27b
Make device tracker to be the last home for destroyed resources
2020-01-08 18:13:43 -05:00
Jonathan Behrens
461f114ad5
Make Origin3d::{x,y,z} all have type u32
2019-12-25 21:42:49 -05:00
Dzmitry Malyshau
6c632d1366
Separate native from the core
2019-11-16 00:36:23 -05:00