60 Commits

Author SHA1 Message Date
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
Michael-Lai fx
860e68b59b
Fix TextureId 2018-11-12 21:52:36 +08:00
Michael-Lai fx
0a4a71b345
Add no_mangle to extern "C" fn 2018-11-12 11:41:34 +08:00
Joshua Groves
0c1cf3621a Update gfx 2018-11-11 12:36:37 -07:00
Joshua Groves
f4cd450687 Disable rendy temporarily 2018-11-11 12:02:40 -07:00
Dzmitry Malyshau
a04df23a10 Track resources used in commands by the device 2018-11-02 22:00:11 -04:00
Dzmitry Malyshau
d597e97db8 Rewrite the consume() to use the last usage properly 2018-11-02 21:44:17 -04:00
Dzmitry Malyshau
b03d7de335 Actual cleanup of resources on submission 2018-11-02 16:45:10 -04:00
Dzmitry Malyshau
39186c9c7b Add reference counting to objects 2018-11-02 16:45:10 -04:00
Dzmitry Malyshau
6b9be3c08e Fully adopt bitflags for ShaderStageFlags and ColorWriteFlags 2018-10-30 21:51:16 -04:00
Dzmitry Malyshau
4f07ce8248 Cache framebuffers by the Device 2018-10-30 21:23:22 -04:00
Dzmitry Malyshau
d206de2049 Use render pass cache at the begin_render_pass 2018-10-30 16:47:44 -04:00
Dzmitry Malyshau
fee276afa5 Cache render passes on Device level 2018-10-30 16:37:36 -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
de4f2b70eb Framebuffer creation and actual begin_render_pass 2018-10-25 22:29:27 -04:00
Dzmitry Malyshau
08a1bd4bc7 Render pass creation 2018-10-25 17:32:57 -04:00
Dzmitry Malyshau
32b92afa5c Root Makefile 2018-10-22 12:01:42 -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
Joshua Groves
277bef37c7 Minor refactor 2018-10-11 23:56:56 -06:00
Joshua Groves
4126241fff Use references for descriptors 2018-10-11 23:34:00 -06:00
Joshua Groves
6fb3b06303 Add rendy and create textures 2018-10-06 22:27:02 -06:00
Joshua Groves
45c5709b1d Map usage flags 2018-10-06 22:26:28 -06:00
Joshua Groves
beac74c481 Map texture dimension and size 2018-10-06 22:26:28 -06:00
Dzmitry Malyshau
45def95763 native: basic compute resource binding 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau
c7bb1b453e native: use iterators for descriptor set layouts 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau
dd681d2c77 Compute dispatch call 2018-10-02 21:41:10 -04:00
Dzmitry Malyshau
1752754489 Modularize the registry 2018-10-02 12:31:02 -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
Dzmitry Malyshau
da95fe6b1e Rust side render pass begin/end 2018-10-01 10:11:44 -04:00
Dzmitry Malyshau
71b170979d render pass begin/end 2018-10-01 09:49:34 -04:00
Dzmitry Malyshau
62f5fc480d Render pipeline states for Rust layer and example 2018-09-28 21:57:49 -04:00
Dzmitry Malyshau
47edd4564a Begin and finish command buffers 2018-09-28 11:35:31 -04:00
Joshua Groves
3975320543 Run cargo fmt 2018-09-28 07:21:07 -06:00
Joshua Groves
241aef131a Move register inside guard 2018-09-28 07:16:42 -06:00
Joshua Groves
c8a60c780c Refactor after rebase 2018-09-28 00:31:09 -06:00
Joshua Groves
e3d7fda9c7 Simplify registry access 2018-09-28 00:13:11 -06:00
Joshua Groves
aab17db5a1 Map rest of render pipeline descriptor 2018-09-28 00:08:44 -06:00
Joshua Groves
9ef70b8246 Add bind group layout 2018-09-28 00:04:47 -06:00
Joshua Groves
551d944214 Fix build 2018-09-28 00:02:45 -06:00
Joshua Groves
376aa73130 Start render pipeline creation 2018-09-28 00:02:11 -06:00
Dzmitry Malyshau
a7dd3c433f wgn: queue submit 2018-09-27 19:03:48 -04:00