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
Dzmitry Malyshau
0d59c16f16
Refactor insert_barriers
2019-02-26 22:55:04 -05:00
Dzmitry Malyshau
cdc9d65395
Free memory objects
2019-02-26 15:10:43 -05:00
Dzmitry Malyshau
5b129704a0
Storage indexing
2019-02-26 10:27:51 -05:00
Dzmitry Malyshau
e16ceafb81
Epoch tracking of indices
2019-02-26 10:12:11 -05:00
Dzmitry Malyshau
c21420399a
Refactored tracking, now includes the views
2019-02-22 12:59:29 -05:00
Dzmitry Malyshau
00e0347b8c
Renamed the impl methods, switched structure argumetns from references to contained items
2019-02-15 10:13:04 -05:00
Dzmitry Malyshau
2e21285434
Separate object identity from storage
2019-02-14 14:28:55 -05:00
Dzmitry Malyshau
844d371989
Command encoder interface
2019-02-12 16:48:56 -05:00
Dzmitry Malyshau
4b1897b254
Separate module for transfer functions
2019-02-06 08:55:21 -05:00
Dzmitry Malyshau
c74f8e8db8
Cube cleanup and the new generated texture
2019-02-04 09:55:32 -05:00
Dzmitry Malyshau
d50f8199dd
Buffer to texture copies
2019-02-03 21:59:35 -05:00
Dzmitry Malyshau
57f0cd184f
native: basic support for pipeine stages in barriers
2019-01-31 21:42:35 -05:00
Joshua Groves
3d98457eb9
Add support for GLFW on Windows
2019-01-24 12:08:32 -05:00
Dzmitry Malyshau
2ec9d05074
Triangle example, minor corrections
2019-01-21 19:20:09 -05:00
Dzmitry Malyshau
6699f4bed1
native: Abstract the binding tracker into a separate module
2019-01-21 16:18:56 -05:00
Dzmitry Malyshau
3ed4620c1f
Bind compute groups if layout is matching
2019-01-21 16:18:56 -05:00
Joshua Groves
c7f2425b98
Remove generic from render pass descriptor
2019-01-20 16:24:37 -07:00
Dzmitry Malyshau
2221b112c7
Fix command buffer recycling
2019-01-17 21:11:01 -05:00
Dzmitry Malyshau
90154fb6f5
Wait for swapchain semaphores
2019-01-16 08:56:35 -05:00
Dzmitry Malyshau
ba8828eb5b
Refactor includes, collect swapchain links on RP begin
2019-01-15 09:09:29 -05:00