Commit Graph
55 Commits
Author SHA1 Message Date
Dzmitry Malyshau 52ee3e019c Remote example and improved header, tested on CI 2019-04-29 22:41:09 -04:00
bors[bot]andSerhii Plyhun 5ec6f35368 Merge #139
139: Scissors test r=kvark a=snuk182

Closes #138 

Co-authored-by: Serhii Plyhun <snuk188@gmail.com>
2019-04-28 02:28:16 +00:00
Serhii Plyhun 092bcc4afb Scissor test 2019-04-28 00:45:37 +02:00
Alexis Sellier c468840eee Support dynamic offsets
Closes #125

* Add support for dynamic offsets when setting a bind group.
* Add new binding types: `UniformBufferDynamic` and `StorageBufferDynamic`
2019-04-26 22:20:54 +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 a8a6b45c9a Rename expectation to LayoutChange 2019-03-31 20:00:52 -04:00
Dzmitry Malyshau 006d40a4b5 Track bind group compatibility across the whole pipeline 2019-03-31 16:04:37 -04:00
Dzmitry Malyshau 5923deff6e Validate bind group compatibility 2019-03-31 16:03:08 -04:00
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 8ad1476872 Fix tracking of the set_sub_data service command buffer 2019-02-27 08:31:38 -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 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 855bcfe176 Resource destruction refactoring, hook up to rust 2019-02-21 08:42:57 -05:00
Dzmitry Malyshau 2e21285434 Separate object identity from storage 2019-02-14 14:28:55 -05:00
Dzmitry Malyshau dc7bf3404e Refactor get_with_usage for better ergonomics 2019-02-06 09:15:57 -05:00
Dzmitry Malyshau 3d47436129 rust: vertex/index binding 2019-02-03 15:51:54 -05:00
Dzmitry Malyshau edf269dbed Remove the non-winit path from the example 2019-01-22 17:10:08 -08:00
Dzmitry Malyshau 4f939bc32f Bind group resource transitions 2019-01-21 16:18:56 -05:00
Dzmitry Malyshau dee685aa0c native: bind groups for both compute and graphics 2019-01-21 16:18:56 -05:00
Dzmitry Malyshau 64fb727bad draw methods 2019-01-21 16:18:56 -05:00
Dzmitry Malyshau bb7fee796d get_with_usage helper 2019-01-21 16:18:56 -05:00
Dzmitry Malyshau 08cd75f38c Set vertex and index buffers 2019-01-21 16:18:56 -05:00
Dzmitry Malyshau ba8828eb5b Refactor includes, collect swapchain links on RP begin 2019-01-15 09:09:29 -05:00
porky11 b61298a884 remove some unnecessary and 2019-01-12 20:11:27 +01:00
porky11 6f3499ecae port to 2018 edition 2019-01-12 19:58:24 +01:00
porky11 a5a5b88014 use rustfmt for formatting after edits 2019-01-12 19:15:48 +01:00
porky11 6675a4d3e4 update to current version of gfx 2019-01-12 19:03:17 +01:00
Dzmitry Malyshau f4bb1903bf Fix deadlock in barrier insertion 2018-12-01 22:53:21 -05:00
Dzmitry Malyshau d4c415f666 Improve locking safety for Registry 2018-11-27 11:06:22 -05:00
Dzmitry Malyshau 39186c9c7b Add reference counting to objects 2018-11-02 16:45:10 -04:00
Dzmitry Malyshau f3cfd2e09c Transition between command buffers 2018-10-26 22:15:48 -04:00
Dzmitry Malyshau 879cd64b30 Texture view creation in Rust and the example 2018-10-26 12:04:20 -04:00
Dzmitry Malyshau 1137ad2f70 native: Texture view creation 2018-10-26 11:47:01 -04:00
Dzmitry Malyshau 0cad1f5d56 Basic texture transitions 2018-10-19 12:31:36 -04:00
Dzmitry Malyshau b27650bfcd Buffer transitions for a render pass 2018-10-19 12:07:07 -04:00
Dzmitry Malyshau f9cd55ed59 Share use_xxx implementations in the tracker 2018-10-19 10:50:59 -04:00
Dzmitry Malyshau 0fca6930d9 Basic resource tracking 2018-10-19 10:34:19 -04:00
Dzmitry Malyshau 5462690c4a Chain multiple native command buffers per logical one 2018-10-18 16:27:35 -04:00
Dzmitry Malyshau dd681d2c77 Compute dispatch call 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau d713f3e380 Consolidate all the registries together 2018-10-02 12:18:54 -04:00
Dzmitry Malyshau 1fd05608fb native: compute pass boilerplate 2018-10-02 11:43:26 -04:00
Dzmitry Malyshau e4341603d7 Keep a reference to DeviceID in the command buffer 2018-10-01 11:41:55 -04:00