Commit graph

107 commits

Author SHA1 Message Date
Carter Anderson
35adad6556 Async mesh loading works 2020-05-15 17:22:45 -07:00
Carter Anderson
4e1abea161 AssetServer: multithreaded sync/async asset loading 2020-05-15 16:55:44 -07:00
Carter Anderson
2bcb8a2a41 cargo fmt 2020-05-13 18:05:18 -07:00
Carter Anderson
6381611e89 Resource -> Res, Ref->Com 2020-05-13 17:57:08 -07:00
Carter Anderson
fb8f9e8636 RenderGraph::add_node now requires a name 2020-05-13 17:35:48 -07:00
Carter Anderson
06f3a4efb9 Use system fns for all setup code 2020-05-13 17:31:56 -07:00
Carter Anderson
70f122b92a Rename AssetStorage to Assets 2020-05-13 16:45:18 -07:00
Carter Anderson
b58db0749e use init_resource everywhere 2020-05-13 16:35:38 -07:00
Carter Anderson
16b568e00e Asset events and AddAsset builder 2020-05-13 16:17:44 -07:00
Carter Anderson
a7eaf32e7c drainable/extendable events 2020-05-13 16:17:06 -07:00
Carter Anderson
c18ecf2a55 initial text rendering 2020-05-13 13:22:12 -07:00
Carter Anderson
73cc20768c remove pathfinder code
its not ready yet so it shouldnt be on master :)
2020-05-12 16:35:49 -07:00
Carter Anderson
44717c7b10 pathfinder: small tweaks 2020-05-12 14:31:03 -07:00
Carter Anderson
7508e6f02e pathfinder: minor fixes 2020-05-12 13:36:28 -07:00
Carter Anderson
6c29a2f52b pathfinder: fill in missing uniforms 2020-05-12 12:04:10 -07:00
Carter Anderson
a57e08075b diagnostics: real bind group count 2020-05-12 11:59:33 -07:00
Carter Anderson
10637c1010 add TextureDescriptor to ResourceInfo 2020-05-11 21:28:11 -07:00
Carter Anderson
4eb562975f pathfinder: data binding 2020-05-11 20:12:48 -07:00
Carter Anderson
0dd55f2c40 cleanup 2020-05-11 14:08:20 -07:00
Carter Anderson
f98918fd5c remove buffer array info 2020-05-11 14:07:09 -07:00
Carter Anderson
7a71873a32 RenderResourceAssignment refactor 2020-05-11 13:55:23 -07:00
Carter Anderson
ef2e5a1ba3 pathfinder: set vertex buffer descriptors 2020-05-11 12:37:04 -07:00
Carter Anderson
35e1d8b498 pathfinder: more backend work. it now renders the clear color without crashing 2020-05-11 09:01:31 -07:00
Carter Anderson
a5f47fd7da use "32 bit alignment" and "explicit shaders" pathfinder branches 2020-05-10 12:53:26 -07:00
Carter Anderson
ff8c5292c2 add pathfinder fork 2020-05-08 09:29:26 -07:00
Carter Anderson
0fdf331552 pathfinder: vertex buffers, samplers, and glsl layout 2020-05-07 23:10:57 -07:00
Carter Anderson
58ba15fbb6 pathfinder: fix shader paths 2020-05-07 19:15:25 -07:00
Carter Anderson
e61c482bdf pathfinder: fix spirv makefile and generate outputs 2020-05-07 19:14:14 -07:00
Carter Anderson
0e040680df begin pathfinder plugin 2020-05-07 19:09:53 -07:00
Carter Anderson
5e5df2bb87 toggle-able "bevy conventions" in shaders 2020-05-07 19:09:25 -07:00
Carter Anderson
3d65a0d236 move pipeline layout reflection to pipeline descriptor 2020-05-07 11:21:25 -07:00
Carter Anderson
20cc41a639 create shader module from source 2020-05-06 19:26:55 -07:00
Carter Anderson
e459b42418 handle::new now creates a new random handle 2020-05-06 19:26:28 -07:00
Carter Anderson
75614f5084 Ui depth from parent (falls back to insertion order for orphans), do ui rect size offsets before rendering, 2020-05-06 13:49:07 -07:00
Carter Anderson
b5cdb7c5fc upgrade wgpu 2020-05-05 21:25:56 -07:00
Carter Anderson
c5ca59dc4d cargo fmt 2020-05-05 18:44:32 -07:00
Carter Anderson
800c4342ed disable threaded graph execution until leak is fixed 2020-05-05 13:37:13 -07:00
Carter Anderson
cb49e14ae0 remove todo 2020-05-05 13:34:15 -07:00
Carter Anderson
2b0c9491a1 remove unused primary_window 2020-05-05 13:34:05 -07:00
Carter Anderson
c388598996 use rwlock in graph executor instead of cloning 2020-05-05 13:33:47 -07:00
Carter Anderson
2b8789dc8c queue frees in system nodes 2020-05-05 13:12:50 -07:00
Carter Anderson
0d87ebe866 simplify / consolidate wgpu resource mangement 2020-05-05 12:45:37 -07:00
Carter Anderson
012a33ed32 add headless render resource context 2020-05-04 22:02:03 -07:00
Carter Anderson
2fd7020646 rename GlobalRenderResourceContext to RenderResources 2020-05-04 19:34:15 -07:00
Carter Anderson
7560ecf9d8 correct "its" 2020-05-04 14:18:46 -07:00
Carter Anderson
4735c68ab4 add diagnostic examples 2020-05-04 14:14:49 -07:00
Carter Anderson
704a742661 Print diagnostics plugin 2020-05-04 13:42:49 -07:00
Carter Anderson
ea16f6fc56 frame time diagnostic plugin 2020-05-04 13:21:14 -07:00
Carter Anderson
75f1362433 upgrade wgpu 2020-05-04 13:11:51 -07:00
Carter Anderson
0e63fd3838 wgpu resource diagnostic plugin 2020-05-04 12:36:18 -07:00