Connor Fitzgerald
c8bcc50ed6
Implement PUSH_CONSTANTS feature
2020-07-13 12:47:09 -04:00
Dzmitry Malyshau
15f3db7d83
Bump the maximum bind groups to 8
2020-07-04 11:17:51 -04:00
Dzmitry Malyshau
925010d117
Revise the atomic ordering on refcounts
2020-06-27 13:00:12 -04:00
Dzmitry Malyshau
e3280aa643
Deduplicate BindGroupLayout by value
2020-06-27 11:13:18 -04:00
Connor Fitzgerald
ac62a11619
Convert Extensions + Capabilities into Features
2020-06-26 00:18:46 -04:00
Dzmitry Malyshau
0ed90d001b
Tweak the logging a bit to make debug level usable
2020-06-24 10:26:43 -04:00
Marvin Löbel
962f65ac27
Add backends! and backends_map! macros
...
to reduce code duplication in instance.rs
2020-06-23 00:41:01 +02:00
Connor Fitzgerald
c1f0021a05
Add Chrome Backend
2020-06-20 20:55:59 -04:00
Connor Fitzgerald
1b2cf3cd22
Add Tracing and Instrument Entry Points
2020-06-20 14:26:50 -04:00
Dzmitry Malyshau
35a1dc3076
Basic support for WGSL
2020-06-17 13:29:43 -04:00
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
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