Commit Graph
92 Commits
Author SHA1 Message Date
Dzmitry Malyshau 61fca00f34 Remove wgpu-bindings in favor of configuration scripts 2019-04-30 12:45:05 -04:00
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
Dzmitry Malyshau 1f4d67aeb2 Track async mapping properly 2019-04-22 13:57:35 -04:00
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 b96983a56b Fix submission tracking 2019-03-31 19:59:21 -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 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 855bcfe176 Resource destruction refactoring, hook up to rust 2019-02-21 08:42:57 -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 8b6eafcdca Rust and C API for transfers 2019-02-07 08:17:13 -05:00
Dzmitry Malyshau 901463d7ce native: copy_texture_to_texture 2019-02-06 09:29:21 -05:00
Dzmitry Malyshau 1b76b2b96c native: copy_texture_to_buffer 2019-02-06 09:21:12 -05:00
Dzmitry Malyshau dc7bf3404e Refactor get_with_usage for better ergonomics 2019-02-06 09:15:57 -05:00
Dzmitry Malyshau 2f0601c92c native: implement copy buffer to buffer 2019-02-06 09:04:31 -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 3d47436129 rust: vertex/index binding 2019-02-03 15:51:54 -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 edf269dbed Remove the non-winit path from the example 2019-01-22 17:10:08 -08:00
Dzmitry Malyshau 2ec9d05074 Triangle example, minor corrections 2019-01-21 19:20:09 -05:00
Dzmitry Malyshau 32f7ae4f28 Basic buffer creation 2019-01-21 16:18:56 -05: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 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
Dzmitry Malyshau fb6a91589e native: simple bind group creation 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