Dzmitry Malyshau
0e8e806a1b
Fix tracking of render pass attachments
2019-12-15 22:52:22 -05:00
Dzmitry Malyshau
538c23b039
Implement shutdown for the remote server
2019-10-25 22:56:52 -04:00
Dzmitry Malyshau
50997544c6
Formatting pass
2019-10-24 14:53:45 -04:00
Dzmitry Malyshau
41c433ed27
Refactor log usage
2019-10-24 14:53:07 -04:00
Dzmitry Malyshau
4851284150
Switch from remote feature to local
2019-10-24 14:52:44 -04:00
Dzmitry Malyshau
f67894c310
Explicit Global hubs
2019-10-24 14:52:19 -04:00
Dzmitry Malyshau
cf687604b9
Fix compute pass resource binding
2019-10-22 09:09:53 -04:00
Terrence Cole
78fbbba5e9
Support Limits::max_bind_groups ( #348 )
...
* Pass max_bind_count down into Binder.
* Use the existing hub.
* Remove accidental newline.
2019-10-14 21:57:05 -04:00
Dzmitry Malyshau
9c58a5d11a
Add license headers to all Rust sources
2019-10-04 15:24:17 -04:00
Joshua Groves
e430a4cf40
Fallback to D32 when D24 isn't available
2019-09-27 23:44:26 -06:00
yanchith
758bb16d01
Make sure submissions are tracked
2019-09-24 19:04:35 +02:00
Dzmitry Malyshau
050b716aef
Fix life cycle of swap chain framebuffers
2019-09-10 09:16:51 -04:00
Dzmitry Malyshau
5f1c432706
New swapchain model
2019-09-09 20:53:35 -04:00
yanchith
141f4f71eb
Validate resource usage flags when used
2019-09-09 15:44:15 +02:00
Dzmitry Malyshau
988d78435a
Switch to use gfx-rs latest and greatest master
2019-09-06 10:05:53 -04:00
Dzmitry Malyshau
b414b9f373
Formatting pass
2019-08-27 21:11:07 -04:00
Dzmitry Malyshau
e84ae4a4b2
Feature-less backend selection
...
This PR removes optional backend features in favor of run-time
selection at the `request_adapter` entry point. Adapters from all
supported gpu backends on the platform are reported.
It also makes gfx-rs dependency to be public (for now).
2019-08-27 20:55:49 -04:00
Dzmitry Malyshau
a9cfde1d9d
Fixed pipeline barriers that are not transitions
2019-08-21 13:11:46 -04:00
Dzmitry Malyshau
f82ceba3c2
Minor renames to address the review comments
2019-08-16 22:36:30 -04:00
Dzmitry Malyshau
37afa0d98a
Update API according to the upstream spec
...
Includes changes in texture view creation, enumeration mapping,
binding types, and more.
2019-08-15 23:24:35 -04:00
Rukai
e61b16f7ed
Update to gfx hal 0.3
2019-08-11 09:39:52 +10:00
bors[bot] and Dzmitry Malyshau
183058d618
Merge #237
...
237: Enforce the HUB lock order r=grovesNL a=kvark
Fixes #66
cc @jrmuizel @m4b
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2019-07-05 03:27:11 +00:00
John W. Bruce
25834b0312
Derive Debug for All Remaining Types
...
With gfx-hal 0.2.1 and the various backend releases on 2019-06-28, all
of the gfx-hal types that wgpu depends on implement Debug. Thus, some
types that could not derive Debug in #216 can now derive Debug.
This patch also adds Debug implementations for a few types that were
recently added to wgpu.
Fixes #76 .
2019-07-04 17:49:21 -07:00
Dzmitry Malyshau
6085dcf33b
Enforce the HUB lock order
2019-07-04 14:43:54 -04:00
Rukai
194943c12c
Full MSAA handling
2019-06-23 22:17:42 +10:00
Rukai
15488dfa1e
Fix descriptor sets free validation error
2019-06-17 21:01:56 +10:00
Dzmitry Malyshau
86521abfc2
Document the tracking and adjust the API a bit to return less errors
2019-06-13 12:31:36 -04:00
Dzmitry Malyshau
bc7b842f12
Moving the code to use the new tracker API
2019-06-12 12:27:53 -04:00
John W. Bruce
057719fdf5
Add Naïve Debug Derives Where Possible
...
This adds #[derive(Debug)] to all public structs and enums possible.
This also required adding it to some private types that they
transitively depend on. However, the following types depend on types
from external crates that do not implement Debug:
* device::Device
* hub::Hub
* swap_chain::Surface
* swap_chain::SwapChain
To support these types, we would need to use either custom Debug impls
or something like Derivative.
This helps improve the situation in #76 .
2019-06-07 14:19:05 -07:00
Fabio Krapohl
8abc1c2668
also use pointer for descriptor in wgpu_command_encoder_begin_render_pass for consistency reasons
2019-06-04 22:13:48 +00:00
Dzmitry Malyshau
9621fb3021
Validate vertex/instance/index buffer ranges
2019-05-29 23:49:27 -04:00
Dzmitry Malyshau
4446b81f3e
Fix compute pass barriers
2019-05-26 23:55:23 -04:00
Dzmitry Malyshau
9eddc296c3
Fix clear value filtering and integer support
2019-05-23 10:03:11 -04:00
Dzmitry Malyshau
a9063ce3eb
Fix RenderPassColorAttachmentDescriptor
2019-05-15 22:38:59 -07:00
bors[bot] and Dzmitry Malyshau
a056d2478a
Merge #175
...
175: API update with naming, formats, and extra fields r=grovesNL a=kvark
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2019-05-15 07:31:42 +00:00
Dzmitry Malyshau
1875523a6a
Rust formatting pass
2019-05-14 13:00:00 -04:00
Dzmitry Malyshau
40ec1ac4c1
Fix command buffer and surface locking order
2019-05-14 11:13:08 -04:00
Dzmitry Malyshau
6a1dcb9565
API update with naming, formats, and extra fields
2019-05-14 10:31:25 -04:00
bors[bot] and Dzmitry Malyshau
6b92c37fa0
Merge #151
...
151: Assert on swapchain output usage before presenting r=grovesNL a=kvark
Fixes #148
There is no "fix" for the case on our side. The PR brings stronger requirements on the swapchain outputs: they have to be used and submitted before dropped.
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2019-05-06 11:40:18 +00:00
Dzmitry Malyshau
1c350cc4af
Assert on swapchain output usage before presenting
2019-05-03 10:45:39 -04:00
psincf
bfc983a8cc
Clean code
2019-05-01 11:55:28 +02:00
psincf
44cf64495a
Use strong type
2019-05-01 11:55:28 +02:00
Atul Bhosale
af38d79d79
Format code using 'cargo fmt'
2019-04-26 22:01:47 +05:30
Joshua Groves
7f7bdd1ba1
Implement index formats
2019-04-07 08:15:05 -02:30
Dzmitry Malyshau
332305012c
Blend color and the first bits of validation
2019-03-31 15:52:32 -04:00
Dzmitry Malyshau
0b51c8a9d2
Clean up use statements.
...
Use copyless::VecHelper and ArrayVec for some things.
Refactor map_buffer internals.
2019-03-21 12:05:53 -04:00
Tristam MacDonald
1fe59e71db
run cargo fmt
2019-03-05 20:41:24 -08:00
Dzmitry Malyshau
650bbaeb42
Basic render pipeline compatibility check
2019-03-03 22:09:20 -05:00
Dzmitry Malyshau
76473bb38a
Stitch mode for insert_barriers
2019-02-26 23:56:38 -05:00
Dzmitry Malyshau
cc5900b160
Refactor the view tracker
2019-02-26 23:05:36 -05:00